我正在开发一个带有html5路由的SPA。例:https://app.example.com/restaurants/<restaurantId>/menu等
基本上,该应用程序为多家餐厅创建动态网站,托管在https://app.example.com/restaurants/<restaurantId>
其要求是允许餐厅所有者在自己的域名中托管网站。
例:如果restaurantId of Example Pizza Shop是xxx,那么www.examplepizza.com应该和所有的子路线一起服务https://app.example.com/restaur