Skip to content

Commit 0402a50

Browse files
authored
更新配置
1 parent 9a955cd commit 0402a50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/config/environments.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ConnectionOptions} from "typeorm";
77
export const mysqlConfig: ConnectionOptions = {
88
"name": "mysql",
99
"type": "mysql",
10-
"host": "148.70.34.67",
10+
"host": "1.1.1.1",
1111
"port": 3307,
1212
"username": "root",
1313
"password": "123456",
@@ -21,9 +21,9 @@ export const mysqlConfig: ConnectionOptions = {
2121
export const mongodbConfig: ConnectionOptions = {
2222
"name": "mongodb",
2323
"type": "mongodb",
24-
"host": "148.70.34.67",
24+
"host": "1.1.1.1",
2525
"port": 27017,
2626
"database": "test",
2727
"entities": ["app/entity/mongo/*.ts"],
2828

29-
};
29+
};

0 commit comments

Comments
 (0)