You are not logged in.
Pages: 1
Momort does not support such this
path http://localhost:888/root/assets/the font - awesome / 4.5.0 / fonts/fontawesome - webfont. Woff?V = 4.5.0
Offline
?
This is a static resource, right?
If the URI is properly encoded on the client side, then decoded on the server side using a method-based service, there is no reason why it shouldn't work.
Offline
this is mORMot sample 09 result : http://easystda.com:888/root/index.html
this is IIS result : http://easystda.com/
Last edited by wangchong (2019-01-11 00:53:26)
Offline
Browser requests file "...webfont.woff?v=4.5.0", but your implementation cannot process "?v=4.5.0" at the end of file.
If I remove "?v=4.5.0" from URL manually, then file returned OK.
Do you use TSQLRestServerURIContext.ReturnFileFromFolder or other function?
Offline
@Chaa
I only used sample 09 as an example:
static html is bootstrap template
Last edited by wangchong (2019-01-11 06:14:18)
Offline
Sample "09 - HttpApi web server" does not handle "?" in URL.
You may do it yourself or use more feature-rich http server like sample "30 - MVC Server" or Memcached Boilerplate HTTP Server for Synopse mORMot Framework.
Offline
Pages: 1