split assets to R2 bucket in cloudflare
Some checks failed
Deploy to Cloudflare Pages / deploy (push) Has been cancelled

This commit is contained in:
Brian Beck 2026-04-09 08:24:38 -07:00
parent ad9f65ffed
commit d8703b75c8
4 changed files with 26 additions and 8 deletions

View file

@ -14,7 +14,7 @@ const log = createLogger("loaders");
export type { TerrainFile };
export const RESOURCE_ROOT_URL = `${process.env.BASE_PATH}base/`;
export const RESOURCE_ROOT_URL = process.env.GAME_ASSETS_BASE_URL;
export const FALLBACK_TEXTURE_URL = `${process.env.BASE_PATH}white.png`;
export function getUrlForPath(resourcePath: string, fallbackUrl?: string) {