Changing Default Project Settings

This commit is contained in:
2023-07-30 23:55:40 -03:00
parent 18d9316d8b
commit 5069159d50
3 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -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": {

View File

@@ -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);