Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CreateBuild.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ COPY "Res\\GatewayConfiguration.json" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\Bi
ECHO.
ECHO Building WebController...
IF EXIST "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\WebController" (RMDIR /s /q "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\WebController") || GOTO :ERROR
dotnet publish -c Release "Src\\WebController\\Backend" || GOTO :ERROR
dotnet publish -c Release "Src\\WebController\\Backend" -o "Bin\\WebController\\Release\\netcoreapp3.1\\publish" || GOTO :ERROR
XCOPY /s /q "Bin\\WebController\\Release\\netcoreapp3.1\\publish" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\WebController\" || GOTO :ERROR

ECHO.
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Src/WebController/Backend/wwwroot/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>c3</title><link href=/css/app.868c7c28.css rel=preload as=style><link href=/js/app.bf5ac533.js rel=preload as=script><link href=/js/chunk-vendors.fc41187c.js rel=preload as=script><link href=/css/app.868c7c28.css rel=stylesheet></head><body><noscript><strong>We're sorry but c3 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.fc41187c.js></script><script src=/js/app.bf5ac533.js></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>c3</title><link href="/css/app.9d5e2a34.css" rel="preload" as="style"><link href="/js/app.8e086b41.js" rel="preload" as="script"><link href="/js/chunk-vendors.90a9885b.js" rel="preload" as="script"><link href="/css/app.9d5e2a34.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but c3 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.90a9885b.js"></script><script src="/js/app.8e086b41.js"></script></body></html>
2 changes: 2 additions & 0 deletions Src/WebController/Backend/wwwroot/js/app.8e086b41.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Src/WebController/Backend/wwwroot/js/app.8e086b41.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions Src/WebController/Backend/wwwroot/js/app.bf5ac533.js

This file was deleted.

1 change: 0 additions & 1 deletion Src/WebController/Backend/wwwroot/js/app.bf5ac533.js.map

This file was deleted.

140 changes: 140 additions & 0 deletions Src/WebController/Backend/wwwroot/js/chunk-vendors.90a9885b.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

140 changes: 0 additions & 140 deletions Src/WebController/Backend/wwwroot/js/chunk-vendors.fc41187c.js

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion Src/WebController/UI/src/components/modals/Options.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
v-on:click="saveNetworkConfig()"
:disabled="!isFormValid"
>
Save Confing
Save Config
</button>
</dir>
</div>
Expand Down
10 changes: 8 additions & 2 deletions Src/WebController/UI/src/store/OptionsModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@ interface OptionsState {
// State

const state: OptionsState = {
baseUrl: 'http://localhost',
port: 52935,
baseUrl: `${window.location.protocol}//${window.location.hostname}`,
port: parseInt(
window.location.port !== ''
? window.location.port
: window.location.protocol === 'http:'
? '80'
: '443'
),
refreshInterval: 2000
};

Expand Down