fix: separate public domain for beta assets (#7550)
This commit is contained in:
@@ -77,9 +77,11 @@ export const getPublicPath = (buildFlags: BuildFlags) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (BUILD_TYPE === 'canary') {
|
if (BUILD_TYPE === 'canary') {
|
||||||
return `https://dev.affineassets.com/${BUILD_TYPE}/`;
|
return `https://dev.affineassets.com/`;
|
||||||
} else if (BUILD_TYPE === 'beta' || BUILD_TYPE === 'stable') {
|
} else if (BUILD_TYPE === 'beta') {
|
||||||
return `https://prod.affineassets.com/${BUILD_TYPE}/`;
|
return `https://beta.affineassets.com/`;
|
||||||
|
} else if (BUILD_TYPE === 'prod') {
|
||||||
|
return `https://prod.affineassets.com/`;
|
||||||
}
|
}
|
||||||
return publicPath;
|
return publicPath;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user