diff --git a/pages/beemovie.txt b/beemovie.txt
similarity index 100%
rename from pages/beemovie.txt
rename to beemovie.txt
diff --git a/build.ts b/build.ts
index 105a7fde..c29a2397 100644
--- a/build.ts
+++ b/build.ts
@@ -49,6 +49,6 @@ await $`cp -r ${process.cwd()}/node_modules/sharp/build/ .`;
await $`cp -r packages/frontend/.output dist/frontend`;
// Copy the Bee Movie script from pages
-await $`cp ${process.cwd()}/pages/beemovie.txt dist/beemovie.txt`;
+await $`cp beemovie.txt dist/beemovie.txt`;
console.log("Built!");
diff --git a/packages/frontend/pages/register/index.vue b/packages/frontend/pages/register/index.vue
index 3ab1d198..c9f14f69 100644
--- a/packages/frontend/pages/register/index.vue
+++ b/packages/frontend/pages/register/index.vue
@@ -107,11 +107,9 @@ if (!config) {
throw new Error("Config not found");
}
-const url = `${config.http.bind}:${config.http.bind_port}`;
-
-const instanceInfo = (await fetch(new URL("/api/v1/instance", url)).then(
- (data) => data.json(),
-)) as APIInstance & {
+const instanceInfo = (await fetch(
+ new URL("/api/v1/instance", config.http.url),
+).then((data) => data.json())) as APIInstance & {
tos_url: string;
};
diff --git a/pages/App.vue b/pages/App.vue
deleted file mode 100644
index f2bde911..00000000
--- a/pages/App.vue
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
You can login to this server by pointing any Mastodon - client at {{ location.host }}
- - -Here are some recommended clients:
- -- Many other clients exist, but they have not been tested for compatibility. Bug reports are nevertheless welcome. -
- -- Found a problem? Report it on the issue tracker. -
-This page should be accessed - through a valid OAuth2 authorization request. Please use a Mastodon API client to access this page. -
-Here are some recommended clients:
- -- Many other clients exist, but they have not been tested for compatibility. Bug reports are nevertheless welcome. -
- -- Found a problem? Report it on the issue tracker. -
-Ask this instance's admin to enable them in config! -
-You can now login to your account in any Mastodon - client
-