perf: optimize font payloads, enable responsive image optimization for uploads, and set high priority on top hero/product images
This commit is contained in:
1 parent
00839017ff
commit
3aaea0062b
6 files changed
+30
-26
No files matched your search
@@ -15,6 +15,13 @@ function getCandidateUrls(filePath: string): string[] {
|
||||
set.add(`${base}/uploads/${filePath}`);
|
||||
}
|
||||
|
||||
// Production backend port and domains
|
||||
set.add(`http://127.0.0.1:4400/uploads/${filePath}`);
|
||||
set.add(`http://localhost:4400/uploads/${filePath}`);
|
||||
set.add(`http://127.0.0.1:4000/uploads/${filePath}`);
|
||||
set.add(`http://localhost:4000/uploads/${filePath}`);
|
||||
set.add(`https://api.canina.ir/uploads/${filePath}`);
|
||||
|
||||
// Docker internal service aliases
|
||||
set.add(`http://backend_prod:3000/uploads/${filePath}`);
|
||||
set.add(`http://canino_backend_prod:3000/uploads/${filePath}`);
|
||||
|
||||
Reference in new issue
Block a user