Changing Default Project Settings
This commit is contained in:
@@ -4,7 +4,7 @@ root = true
|
|||||||
[*]
|
[*]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 4
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
"name": "frontend-hideyoshi.com",
|
"name": "frontend-hideyoshi.com",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./server.js"
|
"start": "node ./server.js",
|
||||||
|
"serve": "ng serve"
|
||||||
},
|
},
|
||||||
"proxy": {
|
"proxy": {
|
||||||
"/callback": {
|
"/callback": {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const express = require('express');
|
const express = require('express');
|
||||||
var cors = require('cors');
|
const cors = require('cors');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
const PKG_NAME = "frontend-hideyoshi.com";
|
const PKG_NAME = "frontend-hideyoshi.com";
|
||||||
@@ -13,4 +13,4 @@ app.get('/*', (req, res) => {
|
|||||||
res.sendFile(path.join(`${__dirname}/dist/${PKG_NAME}/index.html`));
|
res.sendFile(path.join(`${__dirname}/dist/${PKG_NAME}/index.html`));
|
||||||
});
|
});
|
||||||
|
|
||||||
app.listen(process.env.PORT || 5000);
|
app.listen(process.env.PORT || 5000);
|
||||||
|
|||||||
Reference in New Issue
Block a user