diff --git a/README.md b/README.md index da39eff..e2b0dd3 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ChessServer -[](https://gitlab.aiursoft.cn/aiursoft/ChessServer/-/blob/master/LICENSE) -[](https://gitlab.aiursoft.cn/aiursoft/ChessServer/-/pipelines) -[](https://gitlab.aiursoft.cn/aiursoft/ChessServer/-/pipelines) -[](https://gitlab.aiursoft.cn/aiursoft/ChessServer/-/commits/master?ref_type=heads) +[](https://gitlab.aiursoft.com/aiursoft/ChessServer/-/blob/master/LICENSE) +[](https://gitlab.aiursoft.com/aiursoft/ChessServer/-/pipelines) +[](https://gitlab.aiursoft.com/aiursoft/ChessServer/-/pipelines) +[](https://gitlab.aiursoft.com/aiursoft/ChessServer/-/commits/master?ref_type=heads) [](https://chess.aiursoft.cn) [](https://hub.docker.com/r/aiursoft/chessserver) @@ -22,13 +22,13 @@ The following script will install\update this app on your Ubuntu server. Support On your Ubuntu server, run the following command: ```bash -curl -sL https://gitlab.aiursoft.cn/aiursoft/chessserver/-/raw/master/install.sh | sudo bash +curl -sL https://gitlab.aiursoft.com/aiursoft/chessserver/-/raw/master/install.sh | sudo bash ``` Of course it is suggested that append a custom port number to the command: ```bash -curl -sL https://gitlab.aiursoft.cn/aiursoft/chessserver/-/raw/master/install.sh | sudo bash -s 8080 +curl -sL https://gitlab.aiursoft.com/aiursoft/chessserver/-/raw/master/install.sh | sudo bash -s 8080 ``` It will install the app as a systemd service, and start it automatically. Binary files will be located at `/opt/apps`. Service files will be located at `/etc/systemd/system`. diff --git a/install.sh b/install.sh index b35e161..0bfc139 100644 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ -aiur() { arg="$( cut -d ' ' -f 2- <<< "$@" )" && curl -sL https://gitlab.aiursoft.cn/aiursoft/aiurscript/-/raw/master/$1.sh | sudo bash -s $arg; } +aiur() { arg="$( cut -d ' ' -f 2- <<< "$@" )" && curl -sL https://gitlab.aiursoft.com/aiursoft/aiurscript/-/raw/master/$1.sh | sudo bash -s $arg; } app_name="chessserver" -repo_path="https://gitlab.aiursoft.cn/aiursoft/chessserver" +repo_path="https://gitlab.aiursoft.com/aiursoft/chessserver" proj_path="src/Aiursoft.ChessServer/Aiursoft.ChessServer.csproj" get_dll_name() diff --git a/ninja.yaml b/ninja.yaml index bc8b8eb..93784f4 100644 --- a/ninja.yaml +++ b/ninja.yaml @@ -1,17 +1,17 @@ configVersion: 1 files: - name: .editorconfig - contentUri: https://gitlab.aiursoft.cn/aiursoft/tracer/-/raw/master/.editorconfig + contentUri: https://gitlab.aiursoft.com/aiursoft/tracer/-/raw/master/.editorconfig - name: .gitignore - contentUri: https://gitlab.aiursoft.cn/aiursoft/tracer/-/raw/master/.gitignore + contentUri: https://gitlab.aiursoft.com/aiursoft/tracer/-/raw/master/.gitignore - name: .gitlab-ci.yml - contentUri: https://gitlab.aiursoft.cn/aiursoft/tracer/-/raw/master/.gitlab-ci.yml + contentUri: https://gitlab.aiursoft.com/aiursoft/tracer/-/raw/master/.gitlab-ci.yml - name: LICENSE - contentUri: https://gitlab.aiursoft.cn/aiursoft/tracer/-/raw/master/LICENSE + contentUri: https://gitlab.aiursoft.com/aiursoft/tracer/-/raw/master/LICENSE - name: CODE_OF_CONDUCT.md - contentUri: https://gitlab.aiursoft.cn/aiursoft/tracer/-/raw/master/CODE_OF_CONDUCT.md + contentUri: https://gitlab.aiursoft.com/aiursoft/tracer/-/raw/master/CODE_OF_CONDUCT.md - name: ninja.yaml - contentUri: https://gitlab.aiursoft.cn/aiursoft/tracer/-/raw/master/ninja.yaml + contentUri: https://gitlab.aiursoft.com/aiursoft/tracer/-/raw/master/ninja.yaml - name: nuget.config - contentUri: https://gitlab.aiursoft.cn/aiursoft/tracer/-/raw/master/nuget.config + contentUri: https://gitlab.aiursoft.com/aiursoft/tracer/-/raw/master/nuget.config - name: README.md \ No newline at end of file diff --git a/src/Aiursoft.ChessServer/Views/Shared/_Layout.cshtml b/src/Aiursoft.ChessServer/Views/Shared/_Layout.cshtml index f1ce8f5..6fc704b 100644 --- a/src/Aiursoft.ChessServer/Views/Shared/_Layout.cshtml +++ b/src/Aiursoft.ChessServer/Views/Shared/_Layout.cshtml @@ -55,7 +55,7 @@