ensure string
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Elizabeth Hunt 2024-03-10 03:23:03 -06:00
parent 523ed99f7b
commit 4da17f6ded
Signed by: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -1,7 +1,7 @@
import { type SpriteSpec, SPRITE_SPECS } from ".";
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;
export const FONT = new FontFace(