Skip to content

Commit caa0a52

Browse files
authored
doc(WebsiteOptions): remove WasmUrl parameter (#4796)
* chore: 精简 WebsiteOptions 参数 * chore: 增加配置文件
1 parent 9493604 commit caa0a52

File tree

3 files changed

+36
-10
lines changed

3 files changed

+36
-10
lines changed

src/BootstrapBlazor.Server/appsettings.Development.json

+36-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,42 @@
77
}
88
},
99
"WebsiteOptions": {
10-
"ServerUrl": "http://localhost:5053"
10+
"ServerUrl": "http://localhost:5053",
11+
"Themes": [
12+
{
13+
"key": "bootstrap",
14+
"name": "Bootstrap",
15+
"files": []
16+
},
17+
{
18+
"key": "bule",
19+
"name": "蓝色主题",
20+
"files": [
21+
"./css/blue.css"
22+
]
23+
},
24+
{
25+
"key": "ant",
26+
"name": "Ant Design (完善中)",
27+
"files": [
28+
"./css/ant.css"
29+
]
30+
},
31+
{
32+
"key": "layui",
33+
"name": "LayUI (完善中)",
34+
"files": [
35+
"./css/layui.css"
36+
]
37+
},
38+
{
39+
"key": "devui",
40+
"name": "DevUI (制作中)",
41+
"files": [
42+
"./css/devui.css"
43+
]
44+
}
45+
]
1146
},
1247
"BootstrapBlazorOptions": {
1348
"ToastDelay": 4000,

src/BootstrapBlazor.Server/appsettings.json

-4
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@
7575
},
7676
"WebsiteOptions": {
7777
"ServerUrl": "https://www.blazor.zone",
78-
"AdminUrl": "https://admin.blazor.zone",
79-
"ImageLibUrl": "https://imgs.blazor.zone",
80-
"WasmUrl": "https://wasm.blazor.zone",
81-
"TotalCount": 167,
8278
"Themes": [
8379
{
8480
"key": "bootstrap",

src/BootstrapBlazor.Shared/Data/WebsiteOptions.cs

-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ public class WebsiteOptions
1515
/// </summary>
1616
public string ServerUrl { get; set; } = "https://www.blazor.zone";
1717

18-
/// <summary>
19-
///
20-
/// </summary>
21-
public string WasmUrl { get; set; } = "https://wasm.blazor.zone";
22-
2318
/// <summary>
2419
///
2520
/// </summary>

0 commit comments

Comments
 (0)