javascript site root

前端 未结 4 1295
一个人的身影
一个人的身影 2021-02-05 23:36

I have this site that I need to find the root folder / plus the actual folder its works out of.

My problem here is that during development i have the folder with in my l

4条回答
  •  悲&欢浪女
    2021-02-05 23:43

    You can map the url localhost/devbuild to localhost/mytestSiteA and use the first url to test your site locally. In your javascript you can always assume the devbuild folder then. That way you don't have to change anything else.

提交回复
热议问题