graflow: fixing path
This commit is contained in:
@@ -39,7 +39,7 @@ class BZgraflow extends Buildoz{
|
|||||||
static async getCoreCss(){
|
static async getCoreCss(){
|
||||||
if(BZgraflow._coreCssPromise) return(await BZgraflow._coreCssPromise)
|
if(BZgraflow._coreCssPromise) return(await BZgraflow._coreCssPromise)
|
||||||
BZgraflow._coreCssPromise = (async() => {
|
BZgraflow._coreCssPromise = (async() => {
|
||||||
const res = await fetch('/buildoz/buildoz.css')
|
const res = await fetch('./buildoz.css')
|
||||||
const css = await res.text()
|
const css = await res.text()
|
||||||
const m = css.match(/\/\*\s*BZGRAFLOW_CORE_START\s*\*\/([\s\S]*?)\/\*\s*BZGRAFLOW_CORE_END\s*\*\//)
|
const m = css.match(/\/\*\s*BZGRAFLOW_CORE_START\s*\*\/([\s\S]*?)\/\*\s*BZGRAFLOW_CORE_END\s*\*\//)
|
||||||
const core = m ? m[1] : ''
|
const core = m ? m[1] : ''
|
||||||
|
|||||||
Reference in New Issue
Block a user