maguohua 8 éve
szülő
commit
33dbf7c2cf
2 módosított fájl, 1 hozzáadás és 24 törlés
  1. 1 2
      README.md
  2. 0 22
      app.conf

+ 1 - 2
README.md

@@ -1,6 +1,6 @@
 # 前言
 
-电商系统对逻辑要求比较高,也比较复杂,作为nodejs练习的项目,对提升nodejs帮助绝对是很大的。但nodejs并不适合作为此类后台系统,这只是一个单纯的练习项目,所以请不要用于商业用途,此项目是 [vue2-elm](https://github.com/bailicangdu/vue2-elm) 的后台系统,保持和官网一致的API接口。所有的接口都为开放接口,如果您也感兴趣,可以调用接口进行调试。
+电商系统对逻辑要求比较高,也比较复杂,作为nodejs练习的项目,对提升nodejs帮助绝对是很大的。但nodejs并不适合作为此类后台系统,这只是一个单纯的练习项目,所以请不要用于商业用途,此项目是 [vue2-elm](https://github.com/bailicangdu/vue2-elm) 的后台系统,保持和官网一致的API接口。所有的接口都是开放的,如果您也感兴趣,可以调用接口进行调试。
 
 
 # 说明
@@ -136,7 +136,6 @@ npm run dev
 ├─── views                                   // 后台管理系统页面
 ├── .babelrc                                 // 配置babel
 ├── .gitignore                               // 设置忽略文件
-├── app.conf                                 // 百度BAE部署所需配置文件
 ├── app.js                                   // 基础配置
 ├── index.js                                 // 入口
 ├── package.json                             // 配置文件

+ 0 - 22
app.conf

@@ -1,22 +0,0 @@
-########################## BAE application config file ######################
-#
-# app.conf 采用YAML格式, 请参考 http://yaml.org/
-# 请尽量不要在配置部分使用中文,以免发布失败
-# 请不要使用TAB键,应该使用空格
-# 一定要注意对齐,否则发布会失败
-# app.conf 详细功能,请参考:
-#  http://bce.baidu.com/doc/BAE/GUIGettingStarted.html#.E9.85.8D.E7.BD.AEapp.conf
-#  http://godbae.duapp.com/?p=654
-#
-##############################################################################
-
-handlers:
-  - url : (.*)
-    script: $1.nodejs
-
-  - expire : .jpg modify 10 years
-  - expire : .swf modify 10 years
-  - expire : .png modify 10 years
-  - expire : .gif modify 10 years
-  - expire : .JPG modify 10 years
-  - expire : .ico modify 10 years