fixed mah path / url
This commit is contained in:
parent
fe0b53e104
commit
7bd7528a69
|
@ -24,7 +24,7 @@ function mahjong_module() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function mahjong_content(&$a) {
|
function mahjong_content(&$a) {
|
||||||
$basepath = DI::baseUrl()->get() . '/addon/mahjong';
|
$basepath = DI::baseUrl()->get() . '/addon/mahjong/dist';
|
||||||
$o = '';
|
$o = '';
|
||||||
$o .= <<< EOT
|
$o .= <<< EOT
|
||||||
<app-root>
|
<app-root>
|
||||||
|
@ -34,8 +34,8 @@ function mahjong_content(&$a) {
|
||||||
</div>
|
</div>
|
||||||
</app-root>
|
</app-root>
|
||||||
EOT;
|
EOT;
|
||||||
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/runtime.02c30728ea54f887.js" type="module"></script>';
|
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/runtime.js" type="module"></script>';
|
||||||
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/polyfills.3e468d5ab5f409a5.js" type="module"></script>';
|
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/polyfills.js" type="module"></script>';
|
||||||
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/main.abbf60ddab1c39b5.js" type="module"></script>';
|
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/main.js" type="module"></script>';
|
||||||
return $o;
|
return $o;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue