feat: add Category and Product serializers with CDN URL transformation logic
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 32s

This commit is contained in:
vickytechkey 2026-10-08 22:25:34 +05:30
parent 0ae8173fa8
commit 2b30ce914a

View file

@ -2,7 +2,7 @@ from rest_framework import serializers
from .models import Category, Product
import re
CDN_DOMAIN = "https://d1zlxfmkt834bg.cloudfront.net"
CDN_DOMAIN = "https://dc23efa04hj6d.cloudfront.net"
def get_cdn_url(image_url):
if not image_url: