From a1607515c03894945045f5b3b9208e1fe48f50e0 Mon Sep 17 00:00:00 2001 From: Elias Crum Date: Mon, 21 Oct 2024 19:34:45 +0200 Subject: [PATCH] fixing routing after repo migration --- package.json | 8 ++++---- src/components/LandingPage.vue | 6 +++--- src/components/login.ts | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 18ea230..693bb1c 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "triple_app", + "name": "solid-cockpit", "version": "1.0.0", - "description": "The TRIPLE Solid pod access application", + "description": "The Solid Cockpit applicaiton for Pod utilization", "main": "~/src/App.vue", - "homepage": "https://ecrum19.github.io/TRIPLE_App", - "repository": "https://github.com/ecrum19/TRIPLE_App/tree/EDC_active", + "homepage": "https://knowledgeonwebscale.github.io/solid-cockpit", + "repository": "https://github.com/KNowledgeOnWebScale/solid-cockpit/tree/EDC_active", "author": "Elias Crum", "license": "MIT", "scripts": { diff --git a/src/components/LandingPage.vue b/src/components/LandingPage.vue index 5812f0d..dafa567 100644 --- a/src/components/LandingPage.vue +++ b/src/components/LandingPage.vue @@ -8,7 +8,7 @@ color="indigo-darken-3" >
-

Welcome to the TRIPLE App!

+

Welcome to Solid Cockpit!

Below is a guide to get you started.

(Similar instructions found in the README)

@@ -45,7 +45,7 @@
$ git clone https://github.com/ecrum19/TRIPLE_App.git
  1. - To start pod set-up, within the TRIPLE_App/ directory execute the + To start pod set-up, within the solid-cockpit/ directory execute the following command:
@@ -89,7 +89,7 @@

Great, now we are finished with set-up!! Return to the - Triple App + Solid Cockpit App for the next steps.


diff --git a/src/components/login.ts b/src/components/login.ts index c0355e2..5f82449 100644 --- a/src/components/login.ts +++ b/src/components/login.ts @@ -27,8 +27,8 @@ async function startLogin(purl: string): Promise { try { await session.login({ oidcIssuer: purl, //https does not work for some reason?? figure this out later - redirectUrl: new URL("/TRIPLE_App/", window.location.href).toString(), - clientName: "TRIPLE app" + redirectUrl: new URL("/solid-cockpit/", window.location.href).toString(), + clientName: "Solid Cockpit" }); } catch (error) { console.error('Error:', error); @@ -94,14 +94,14 @@ async function getPodURLs(): Promise { * Redirects the user back to the TRIPLE App homepage */ function redirectToHomepage(): void { - window.location.href = new URL("/TRIPLE_App/", window.location.href).toString() + window.location.href = new URL("/solid-cockpit/", window.location.href).toString() } /** * Redirects the user to the TRIPLE App login page */ function redirectToLogin(): void { - window.location.href = new URL("/TRIPLE_App/login", window.location.href).toString() + window.location.href = new URL("/solid-cockpit/login", window.location.href).toString() } /**