简体   繁体   English

找不到Google App Engine JavaScript

[英]Google app engine javascript not found

I am using GAE Launcher to deploy my application (th3b706.appspot.com), but i have an strange issue when im working local everything works just fine but as soon as i deploy the *.js files arent there. 我正在使用GAE Launcher部署我的应用程序(th3b706.appspot.com),但是当我在本地工作时,我遇到了一个奇怪的问题,一切都很好,但是我在那里立即部署了* .js文件。 I added 我加了

- url: /scripts
  static_dir: templates\scripts

to my app.yaml file. 到我的app.yaml文件。

and the scripts are in the scripts folder, just like i said local is everything alright as soon as i upload the js files get lost idk why. 并且脚本位于scripts文件夹中,就像我说的是,当我上载js文件后,本地就可以了。

更改分隔符,应该没问题:

static_dir: templates/scripts

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM