Skip to content

Commit cd43126

Browse files
committed
fixed Cors and abp script problems to allow project running
1 parent 6d04e08 commit cd43126

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

Vue/src/abp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ sourceName = sourceName || abp.localization.defaultSourceName;
6464
var source = abp.localization.values[sourceName];
6565

6666
if (!source) {
67-
abp.log.warn('Could not find localization source: ' + sourceName);
67+
//abp.log.warn('Could not find localization source: ' + sourceName);
6868
return key;
6969
}
7070

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"ConnectionStrings": {
3-
"Default": "Server=localhost; Database=AbpProjectNameDb; Trusted_Connection=True;"
4-
},
5-
"App": {
6-
"ServerRootAddress": "http://localhost:21021/",
7-
"ClientRootAddress": "http://localhost:4200/",
8-
"CorsOrigins": "http://localhost:4200"
9-
},
10-
"Authentication": {
11-
"JwtBearer": {
12-
"IsEnabled": "true",
13-
"SecurityKey": "AbpProjectName_C421AAEE0D114E9C",
14-
"Issuer": "AbpProjectName",
15-
"Audience": "AbpProjectName"
2+
"ConnectionStrings": {
3+
"Default": "Server=localhost; Database=AbpProjectNameDb; Trusted_Connection=True;"
4+
},
5+
"App": {
6+
"ServerRootAddress": "http://localhost:21021/",
7+
"ClientRootAddress": "http://localhost:4200/",
8+
"CorsOrigins": "http://localhost:4200,http://localhost:8080"
9+
},
10+
"Authentication": {
11+
"JwtBearer": {
12+
"IsEnabled": "true",
13+
"SecurityKey": "AbpProjectName_C421AAEE0D114E9C",
14+
"Issuer": "AbpProjectName",
15+
"Audience": "AbpProjectName"
16+
}
1617
}
17-
}
18-
}
18+
}

0 commit comments

Comments
 (0)