This commit is contained in:
parent
523ed99f7b
commit
4da17f6ded
@ -1,7 +1,7 @@
|
|||||||
import { type SpriteSpec, SPRITE_SPECS } from ".";
|
import { type SpriteSpec, SPRITE_SPECS } from ".";
|
||||||
import { SOUND_SPECS, SoundSpec } from "./sounds";
|
import { SOUND_SPECS, SoundSpec } from "./sounds";
|
||||||
|
|
||||||
let BASE_URL = import.meta.env.BASE_URL || document.location;
|
let BASE_URL = import.meta.env.BASE_URL || document.location.toString();
|
||||||
BASE_URL = BASE_URL.endsWith("/") ? BASE_URL.slice(0, -1) : BASE_URL;
|
BASE_URL = BASE_URL.endsWith("/") ? BASE_URL.slice(0, -1) : BASE_URL;
|
||||||
|
|
||||||
export const FONT = new FontFace(
|
export const FONT = new FontFace(
|
||||||
|
Loading…
Reference in New Issue
Block a user