update CDN_URI and IMAGE_RESIZING_SERVICE

This commit is contained in:
Dawid Wysokiński 2021-04-17 14:54:10 +02:00
parent 4b5f012593
commit 60faed0bf7
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import { WEBSITE } from './app';
export const CDN_URI = __DEV__
? 'http://localhost:9000/'
: 'https://cdn.zdamegzaminzawodowy.pl/';
export const IMAGE_RESIZING_SERVICE = `${
__DEV__ ? 'http://localhost:3000' : 'https://zdamegzaminzawodowy.pl'
}/_next/image`;
export const IMAGE_RESIZING_SERVICE = `${WEBSITE}/_next/image`;