diff --git a/api/main.ts b/api/main.ts
index 48f00cd..ae6e6a0 100644
--- a/api/main.ts
+++ b/api/main.ts
@@ -1,4 +1,11 @@
// main API file. Handles all the routing/api stuff
+
+// Due to the Language servers, the import statements are
+// shown as errors, @ts-ignore is used to ignore them.
+// This is a Deno file, but the Vue LSP is still
+// attempting to find errors, which causes
+// confusing False errors
+
// @ts-ignore
import { Router, Application } from "https://deno.land/x/oak/mod.ts";
// @ts-ignore
@@ -8,12 +15,12 @@ import { oakCors } from "https://deno.land/x/cors/mod.ts";
const router = new Router();
const app = new Application();
-// Creates the routes for the API server.S
+// Creates the routes for the API server.
// Example: localhost:8000/api will show "testAPIPoint"
// in the HTML
router
.get("/", (ctx) => {
- ctx.response.body = "ESP Api";
+ ctx.response.body = "ESP API Site";
})
.get("/api", (ctx) => {
@@ -25,4 +32,5 @@ app.use(oakCors());
app.use(router.routes());
app.use(router.allowedMethods());
+// @ts-ignore
await app.listen({ port: 8000 });
\ No newline at end of file
diff --git a/src/App.vue b/src/App.vue
index 6e84a31..dd9e642 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,6 +1,6 @@
-
-
-
-
-
- */
\ No newline at end of file