File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -87,11 +87,6 @@ async function getPackageVersion(module) {
8787 return packageJson . version
8888}
8989
90- const SUPABASE_ASSETS_URL =
91- process . env . NEXT_PUBLIC_ENVIRONMENT === 'staging'
92- ? 'https://frontend-assets.supabase.green'
93- : 'https://frontend-assets.supabase.com'
94-
9590function getAssetPrefix ( ) {
9691 // If not force enabled, but not production env, disable CDN
9792 if ( process . env . FORCE_ASSET_CDN !== '1' && process . env . VERCEL_ENV !== 'production' ) {
@@ -104,7 +99,7 @@ function getAssetPrefix() {
10499 }
105100
106101 // @ts -ignore
107- return `${ SUPABASE_ASSETS_URL } /${
102+ return `https://frontend-assets.supabase.com /${
108103 process . env . SITE_NAME
109104 } /${ process . env . VERCEL_GIT_COMMIT_SHA . substring ( 0 , 12 ) } `
110105}
You can’t perform that action at this time.
0 commit comments