我有一个播放应用程序,如果它是Web主机的根,但是我想将其作为我的主机的子URL加载
那是
http://example.com/ <- This works fine and i want to move to it
http://example.com/AwesomePlayApplication/ <- This want me to rewrite all the routes
Run Code Online (Sandbox Code Playgroud)
有没有办法只设置一个自定义根URL,将转换我所有配置的路由?
Jul*_*Foy 11
在conf/application.conf文件中添加以下配置键:
application.context="/AwesomePlayApplication"
Run Code Online (Sandbox Code Playgroud)