graflow: fixing path

This commit is contained in:
STEINNI
2026-03-10 21:09:15 +00:00
parent c359aae479
commit 8cd1a65189

View File

@@ -39,7 +39,7 @@ class BZgraflow extends Buildoz{
static async getCoreCss(){
if(BZgraflow._coreCssPromise) return(await BZgraflow._coreCssPromise)
BZgraflow._coreCssPromise = (async() => {
const res = await fetch('/buildoz/buildoz.css')
const res = await fetch('./buildoz.css')
const css = await res.text()
const m = css.match(/\/\*\s*BZGRAFLOW_CORE_START\s*\*\/([\s\S]*?)\/\*\s*BZGRAFLOW_CORE_END\s*\*\//)
const core = m ? m[1] : ''