我已按照此处详细说明-https://medium.com/@maciejtreder/angular-serverless-a713e86ea07a
<app-root>
的内容在本地查看时按预期填充(查看源:http://localhost:8080/)
但是,当我将其上传到服务器<app-root>
时,它为空时,浏览器或服务器端是否没有错误?
服务器正在使用以下配置运行Plesk-
Node.js Version - 9.10.1
Document Root- /dev.websitemasked.co/httpdocs/browser
Application Mode production
Application URL - http://dev.websitemasked.co
Application Root /dev.websitemasked.co/httpdocs
Application Startup File - server.js
Custom environment variables - PORT: 80 (I've tried with and without, currently without)
我尝试将文档根目录更改为/dev.websitemasked.co/httpdocs/server
和/browser