Closed KangGeunSu closed 2 years ago
Fixed. The framework will skip paths starting with external links or with a ViewEngine command.
$ npm install total4
It wasn't what I wanted.
default_root is null main page uri /
default_root is kgs main page uri /kgs
this is good
But 'js' or 'css' doesn't seem to be called '/js/kgs.js'.
Shouldn't it be called 'kgs/js/kgs.js'?
My method is called like this: kgs/js/kgs.js
Also, 'flow' is applied.(Except for 'theme'..., need some correction) I'm sorry if you feel bad..
Thank you
Please, make a simple example that I can test and where will be the mentioned issue.
hello, I'm testing 'default_root'.
I think this part is wrong
utils.js
function $urlremap(text) << text is
href="@{R.url}img/icon.png"
var pos = text[0] === 'h' ? 6 : 5; << pos is6
return ..... (text[pos] === '/' ? text.substring(pos + 1) : text) <<< text[pos] is@
=> false valus is textbut text is
href="@{R.url}img/icon.png"
I think you should cut off 'href or src' of 'text'.return ..... (text[pos] === '/' ? text.substring(pos + 1) : text.substring(pos))
Thank you!