summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-05-31 16:15:08 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-05-31 16:15:08 +0200
commitb9dfc92f034e38c3e6488d41c02b7becd35d4e59 (patch)
treed9b3792b9c672566136393f71d5fce6e139e251b
parent475e80e72ba7d46309c1265101cfcf49bab7373d (diff)
downloadwebsite-b9dfc92f034e38c3e6488d41c02b7becd35d4e59.tar.gz
website-b9dfc92f034e38c3e6488d41c02b7becd35d4e59.tar.bz2
website-b9dfc92f034e38c3e6488d41c02b7becd35d4e59.tar.xz
website-b9dfc92f034e38c3e6488d41c02b7becd35d4e59.zip
Updated location of news.json and news.rss
-rw-r--r--.env2
-rw-r--r--src/views/Migration.vue2
-rw-r--r--src/views/NewsArchive.vue2
-rw-r--r--tools/news.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/.env b/.env
index 9fe3496..f046deb 100644
--- a/.env
+++ b/.env
@@ -3,7 +3,7 @@ VUE_APP_API=https://api.themanaworld.org/api
VUE_APP_PYAPI=https://localhost:13370
# news file
-VUE_APP_NEWS_JSON=https://updates.tmw2.org/legacy/news.json
+VUE_APP_NEWS_JSON=https://updates.themanaworld.org/news.json
# recaptcha test key (Google-provided)
VUE_APP_RECAPTCHA=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
diff --git a/src/views/Migration.vue b/src/views/Migration.vue
index 1eb5eac..f557d3e 100644
--- a/src/views/Migration.vue
+++ b/src/views/Migration.vue
@@ -167,7 +167,7 @@ export default class Recovery extends Vue {
console.log("Captcha OK")
// ${process.env.VUE_APP_API}
- // https://api.tmw2.org:13370/
+ // https://api.themanaworld.org/api
const req = new Request(`${process.env.VUE_APP_PYAPI}/tmwa_auth`, {
method: "POST",
mode: "no-cors",
diff --git a/src/views/NewsArchive.vue b/src/views/NewsArchive.vue
index af93b84..18f54d7 100644
--- a/src/views/NewsArchive.vue
+++ b/src/views/NewsArchive.vue
@@ -2,7 +2,7 @@
<template>
<main class="main-content">
<h1>News archive</h1>
- <a href="https://updates.tmw2.org/legacy/news.rss" target="_blank" rel="noopener" title="RSS feed" aria-label="open the RSS feed" class="feed"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 5c7.18 0 13 5.82 13 13M6 11a7 7 0 017 7m-6 0a1 1 0 11-2 0 1 1 0 012 0z"></path></svg></a>
+ <a href="https://updates.themanaworld.org/news.rss" target="_blank" rel="noopener" title="RSS feed" aria-label="open the RSS feed" class="feed"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 5c7.18 0 13 5.82 13 13M6 11a7 7 0 017 7m-6 0a1 1 0 11-2 0 1 1 0 012 0z"></path></svg></a>
<News :count="Infinity"/>
</main>
</template>
diff --git a/tools/news.js b/tools/news.js
index 66e98ee..0c50cf6 100644
--- a/tools/news.js
+++ b/tools/news.js
@@ -6,7 +6,7 @@
const https = require("https");
const fs = require("fs");
-const source = "https://updates.tmw2.org/legacy/news.json";
+const source = "https://updates.themanaworld.org/news.json";
console.info("Acquiring news from static site...");