Skip to content

Commit efd64ee

Browse files
committed
Log env
1 parent 91bb144 commit efd64ee

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

  • PocketDDD.BlazorClient/PocketDDD.BlazorClient/wwwroot

PocketDDD.BlazorClient/PocketDDD.BlazorClient/wwwroot/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,23 @@
2323
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
2424
<script>
2525
if (window.location.hostname.includes("localhost") || window.location.hostname.includes("development")) {
26+
console.info("Env = Development")
2627
Blazor.start({
27-
environment: "Test"
28+
environment: "Development"
2829
});
2930
} else if (window.location.hostname.includes("test")) {
31+
console.info("Env = Test")
3032
Blazor.start({
3133
environment: "Test"
3234
});
3335
} else {
36+
console.info("Env = Prod")
3437
Blazor.start({
3538
environment: "Production"
3639
});
3740
}
41+
42+
3843
</script>
3944

4045
<script src="_content/MudBlazor/MudBlazor.min.js"></script>

0 commit comments

Comments
 (0)