Skip to content

Commit

Permalink
项目构建&部署&多环境
Browse files Browse the repository at this point in the history
  • Loading branch information
Goddreamwt committed Aug 6, 2018
1 parent 6d493b8 commit 99ff7be
Show file tree
Hide file tree
Showing 26 changed files with 101,219 additions and 40 deletions.
1 change: 1 addition & 0 deletions server/.idea/typescript-compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 64 additions & 25 deletions server/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions server/build/auction_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
var express = require("express");
var ws_1 = require('ws');
var app = express();
app.get('/', function (req, res) {
res.send("Hello Express");
});
var path = require("path");

app.use('/',express.static(path.join(__dirname,'..','client')));

app.get('/api/products', function (req, res) {
var result = products;
var params = req.query;
Expand Down
Loading

0 comments on commit 99ff7be

Please sign in to comment.