I'm trying to resolve the root url for the application in javascript using the following code:
var rootUrl = '@Url.Content("~")';
But the above code gives rootUrl as /.
What should I do to get the url as http://localhost:8000 on which my application is running.