Skip to content

Commit

Permalink
Merge pull request #30 from KNowledgeOnWebScale/EDC_active
Browse files Browse the repository at this point in the history
fixing routing after repo migration
  • Loading branch information
ecrum19 authored Oct 21, 2024
2 parents 09bc337 + a160751 commit f8d49fc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions src/components/LandingPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
color="indigo-darken-3"
>
<div class="entry">
<h1>Welcome to the TRIPLE App!</h1>
<h1>Welcome to Solid Cockpit!</h1>
<h2>Below is a guide to get you started.</h2>
<h3>(Similar instructions found in the README)</h3>
</div>
Expand Down Expand Up @@ -45,7 +45,7 @@
<pre><code>$ git clone https://github.com/ecrum19/TRIPLE_App.git</code></pre>
<ol start="2">
<li>
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:
</li>
</ol>
Expand Down Expand Up @@ -89,7 +89,7 @@
<p>
Great, now <strong>we are finished with set-up!!</strong>
Return to the
<a href="https://ecrum19.github.io/TRIPLE_App/">Triple App</a>
<a href="">Solid Cockpit App</a>
for the next steps.<br />
</p>
<hr />
Expand Down
8 changes: 4 additions & 4 deletions src/components/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ async function startLogin(purl: string): Promise<string> {
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);

Check warning on line 34 in src/components/login.ts

View workflow job for this annotation

GitHub Actions / build-and-deploy

Unexpected console statement
Expand Down Expand Up @@ -94,14 +94,14 @@ async function getPodURLs(): Promise<string[]> {
* 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()
}

/**
Expand Down

0 comments on commit f8d49fc

Please sign in to comment.