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