ng-toolkit-服务器端渲染在远程服务器上不起作用

时间:2018-09-13 12:24:53

标签: angular angular-universal

我已按照此处详细说明-https://medium.com/@maciejtreder/angular-serverless-a713e86ea07a

<app-root>的内容在本地查看时按预期填充(查看源:http://localhost:8080/

但是,当我将其上传到服务器<app-root>时,它为空时,浏览器或服务器端是否没有错误?

https://shorturl.at/buKR2

服务器正在使用以下配置运行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

0 个答案:

没有答案