How to get base URL of an MVC application using javascript

后端 未结 0 1182
[愿得一人]
[愿得一人] 2021-02-11 17:23

How do I get the base URL using javascript?

E.g., When I browse my site from visual studio, and if my URL is http://localhost:20201/home/index, I would want

相关标签:
回答
  • 消灭零回复
提交回复
热议问题