File tree Expand file tree Collapse file tree 5 files changed +22
-4
lines changed Expand file tree Collapse file tree 5 files changed +22
-4
lines changed Original file line number Diff line number Diff line change
1
+ NODE_ENV = " development"
2
+ PORT = " 7777"
3
+ WWW = " ./"
4
+ VUE_APP_API = " api"
5
+ # Toggle which one of these you want to use
6
+ # DATA_OPTION="local_mongo"
7
+ # DATA_OPTION="cloud_cosmos"
8
+ DATA_OPTION = " papa-cosmos-api-db"
9
+ CORE_API_KEY = " your key"
10
+ CORE_API_URL = " https://papa-cosmos-api-db.documents.azure.com:443/"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ module.exports = {
14
14
'prettier/prettier' : [
15
15
'error' ,
16
16
{
17
- trailingComma : 'es5 ' ,
17
+ trailingComma : 'all ' ,
18
18
singleQuote : true ,
19
19
printWidth : 80 ,
20
20
} ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "bracketSpacing": true,
3
+ "printWidth": 80,
4
+ "singleQuote": true,
5
+ "tabWidth": 2,
6
+ "trailingComma": "all",
7
+ "useTabs": false
8
+ }
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function start() {
8
8
if ( ! process . env . NODE_ENV || ! process . env . PORT ) {
9
9
captains . error (
10
10
'ENV variables are missing.' ,
11
- 'Verify that you have set them directly or in a .env file.'
11
+ 'Verify that you have set them directly or in a .env file.' ,
12
12
) ;
13
13
process . exit ( 1 ) ;
14
14
} else {
@@ -22,7 +22,7 @@ function start() {
22
22
app . use (
23
23
bodyParser . urlencoded ( {
24
24
extended : false ,
25
- } )
25
+ } ) ,
26
26
) ;
27
27
app . use ( express . static ( www ) ) ;
28
28
app . use ( '/api' , routes ) ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ module.exports = {
5
5
devServer : {
6
6
proxy : {
7
7
'/api' : {
8
- target : 'http://localhost:9000 ' ,
8
+ target : 'http://localhost:7777 ' ,
9
9
ws : true ,
10
10
changeOrigin : true ,
11
11
} ,
You can’t perform that action at this time.
0 commit comments