Skip to content

Commit a1c070b

Browse files
committed
Remove ShockLink and LocalShock references
1 parent 3d3d8fc commit a1c070b

File tree

10 files changed

+18
-18
lines changed

10 files changed

+18
-18
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM nginx:1-alpine
22

33
# Default values.
4-
ENV OPENSHOCK_NAME=LocalShock
4+
ENV OPENSHOCK_NAME=OpenShock
55
ENV OPENSHOCK_URL=http://webui.localhost:5002
66
ENV OPENSHOCK_API_URL=http://api.localhost:5001
77
ENV OPENSHOCK_SHARE_URL=

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The [webui](https://github.com/OpenShock/WebUI/pkgs/container/webui) container s
2525

2626
|Variable|Default|Description|
2727
|-|-|-|
28-
|`OPENSHOCK_NAME`|`LocalShock`| Name of the OpenShock instance. |
28+
|`OPENSHOCK_NAME`|`OpenShock`| Name of the OpenShock instance. |
2929
|`OPENSHOCK_URL`|`http://webui:80`| URL of the OpenShock WebUI. (NO trailing slash!) |
3030
|`OPENSHOCK_SHARE_URL`|`https://webui:80/`| URL to prefix share links with. (NO trailing slash!) When visited, should redirect to `${OPENSHOCK_WEBUI_URL}/public/proxy/shares/links/{ID}`. |
3131
|`OPENSHOCK_API_URL`|`http://api:80/`| URL of the API. (NO trailing slash!) |
@@ -47,7 +47,7 @@ Assuming you are running on `localhost`, with [the API](https://github.com/OpenS
4747
```bash
4848
$ docker run \
4949
-p 5002:80/tcp \
50-
-e OPENSHOCK_NAME=LocalShock \
50+
-e OPENSHOCK_NAME=OpenShock \
5151
-e OPENSHOCK_URL=http://localhost:5002 \
5252
-e OPENSHOCK_API_URL=http://localhost:5001 \
5353
-e OPENSHOCK_SHARE_URL=http://localhost:5002/#/public/proxy/shares/links/ \

public/index.shocklink.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<head>
55
<meta charset="UTF-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>ShockLink</title>
7+
<title>OpenShock</title>
88

9-
<meta property="og:title" content="ShockLink" />
9+
<meta property="og:title" content="OpenShock" />
1010
<meta property="og:type" content="website" />
11-
<meta property="og:url" content="https://shocklink.net" />
12-
<meta property="og:image" content="https://shocklink.net/static/images/Icon512.png" />
11+
<meta property="og:url" content="https://openshock.app" />
12+
<meta property="og:image" content="https://openshock.app/static/images/Icon512.png" />
1313
<meta property="og:description" content="Powered by OpenShock, available at https://github.com/OpenShock." />
1414
</head>
1515

src/globals/config/config.development.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const config = {
2-
name: "ShockLink Dev",
3-
webUiUrl: "https://staging.shocklink.net/#/",
4-
apiUrl: "https://staging-api.shocklink.net/",
2+
name: "OpenShock Dev",
3+
webUiUrl: "https://staging.openshock.app/#/",
4+
apiUrl: "https://staging-api.openshock.app/",
55
shortUrl: "https://shockl.ink/",
66
}
77

src/globals/config/config.local.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const config = {
2-
name: "LocalShock",
2+
name: "OpenShock",
33
webUiUrl: "https://localhost:8080/#/",
44
apiUrl: "https://localhost/",
55
shortUrl: "https://shockl.ink/"

src/globals/config/config.production.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const config = {
2-
name: "ShockLink",
3-
webUiUrl: "https://shocklink.net/#/",
4-
apiUrl: "https://api.shocklink.net/",
2+
name: "OpenShock",
3+
webUiUrl: "https://openshock.app/#/",
4+
apiUrl: "https://api.openshock.app/",
55
shortUrl: "https://shockl.ink/"
66
}
77

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Sentry.init({
6969
integrations: [
7070
new Sentry.BrowserTracing({
7171
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
72-
tracePropagationTargets: ["localhost", "api.shocklink.net", "dev-api.shocklink.net", "shocklink.net"],
72+
tracePropagationTargets: ["localhost", "api.openshock.app", "dev-api.openshock.app", "openshock.app"],
7373
routingInstrumentation: Sentry.vueRouterInstrumentation(router),
7474
}),
7575
new Sentry.Replay(),

src/views/dashboard/FirmwareUpdateNotice.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default {
7777
},
7878
7979
updateLink() {
80-
window.open('https://next.shocklink.net/flashtool', '_blank');
80+
window.open('https://next.openshock.app/flashtool', '_blank');
8181
this.updateModal = false;
8282
},
8383

src/views/dashboard/devices/Setup/Setup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default {
8787
},
8888
async flashData() {
8989
this.logMsg("Downloading...");
90-
fetch('https://cdn.shocklink.net/firmware/shocklink_firmware_0.5.2.0.bin').then(res => res.arrayBuffer()).then(async buff => {
90+
fetch('https://cdn.openshock.app/firmware/openshock_firmware_0.5.2.0.bin').then(res => res.arrayBuffer()).then(async buff => {
9191
this.logMsg("Flashing memory. Please wait...");
9292
let stamp = Date.now();
9393
await this.espStub.flashData(

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ module.exports = (env) => {
7878
chunkFilename: "[name].[contenthash:8].css",
7979
}),
8080
new HtmlWebpackPlugin({
81-
template: path.resolve(__dirname, "public", `index.${targetEnv === 'container' ? 'container' : 'shocklink'}.html`),
81+
template: path.resolve(__dirname, "public", `index.${targetEnv === 'container' ? 'container' : 'openshock'}.html`),
8282
favicon: "./public/favicon.ico",
8383
inject: true
8484
}),

0 commit comments

Comments
 (0)