Hey guys, I've got a quick question. I'm using a vhost and _rewrite to
serve up a webpage and I'm trying to get the page to include a separate
javascript file.
http://184.75.155.16.xip.io:5984
Script is running fine, but I'm using a rewrite to point it correctly:
[
{
"from": "",
"to": "index.html"
},
{
"from": "hello.js",
"to": "script/hello.js"
}
]
I'm wondering if there is a better way to do this? Or do I need a
rewrite for every file I'm going to be using on my page? How do I set
the src path correctly if I'm using vhost and _rewrite?
- Chris