Skip to content

Commit 93e974a

Browse files
authored
Rename routes: / -> /roulette, /diff -> / (#59)
1 parent 621e3d1 commit 93e974a

File tree

16 files changed

+454
-450
lines changed

16 files changed

+454
-450
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ Powered by Spring Boot, backend for the web interface and `paperweight`. Routes
1919

2020
SvelteKit frontend using tailwindcss for styling. Hosted as static files by the Spring Boot server.
2121

22-
#### Authenticated Pages
22+
#### Public Pages
2323

24-
- `/login`: Login page
25-
- `/`: Dashboard
24+
- [`/`](https://patch-roulette.papermc.io): Multi-file concise diff viewer
2625

27-
#### Public Pages
26+
#### Authenticated Pages
2827

29-
- [`/diff`](https://patch-roulette.papermc.io/diff): Multi-file concise diff viewer
28+
- `/roulette/login`: Login page
29+
- `/roulette`: Management dashboard
3030

3131
### Web Extension
3232

web-extension/src/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const defaultViewerUrl = "https://patch-roulette.papermc.io/diff";
1+
export const defaultViewerUrl = "https://patch-roulette.papermc.io/";
22

33
export async function getViewerUrl() {
44
let url = defaultViewerUrl;

web/src/lib/components/diff/concise-diff-view.svelte.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
import { guessLanguageFromExtension, type MutableValue, type ReadableBoxedValues } from "$lib/util";
1414
import type { IRawThemeSetting } from "shiki/textmate";
1515
import chroma from "chroma-js";
16-
import { getEffectiveGlobalTheme } from "$lib/theme.svelte.js";
16+
import { getEffectiveGlobalTheme } from "$lib/theme.svelte";
1717
import { onDestroy } from "svelte";
1818

1919
export const DEFAULT_THEME_LIGHT: BundledTheme = "github-light-default";
File renamed without changes.

web/src/routes/+page.svelte

Lines changed: 283 additions & 123 deletions
Large diffs are not rendered by default.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)