totaljs / framework

Node.js framework
http://www.totaljs.com
Other
4.36k stars 450 forks source link

config static-url with absolute link #571

Closed bkhurram closed 7 years ago

bkhurram commented 7 years ago

hii,

when i use @{routeStatic('it/pub/js/script.js')} with config= static-url: https://images.domain.com i will get = ttps://images.domain/it/pub/js/script.js

it's possible to use an absolute link for use an different images server?

Thanks, Khurram

petersirka commented 7 years ago

Try use this example: empty-project.zip It works, can you send me your example?

bkhurram commented 7 years ago

capture

petersirka commented 7 years ago

Shit, there is a problem in Windows. It works on my Mac. I'm going to fix it.

petersirka commented 7 years ago

Please try to install latest beta version $ npm install total.js@beta and give me a feedback. Thank you!

bkhurram commented 7 years ago

now works!

Thanks for fix.