mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
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') {
|
||||
return `https://dev.affineassets.com/${BUILD_TYPE}/`;
|
||||
} else if (BUILD_TYPE === 'beta' || BUILD_TYPE === 'stable') {
|
||||
return `https://prod.affineassets.com/${BUILD_TYPE}/`;
|
||||
return `https://dev.affineassets.com/`;
|
||||
} else if (BUILD_TYPE === 'beta') {
|
||||
return `https://beta.affineassets.com/`;
|
||||
} else if (BUILD_TYPE === 'prod') {
|
||||
return `https://prod.affineassets.com/`;
|
||||
}
|
||||
return publicPath;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user