Use Gitea proxy backend for faster CMS #309

Merged
Denys Konovalov merged 2 commits from dev into main 2024-12-28 12:20:09 +01:00
4 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@ import { GCGThemeDark, GCGThemeLight } from "./themes.js";
const config = {
backend: {
name: "gitea",
name: "gitea-large",
repo: "gcg/gcg-website",
branch: "main",
api_root: "https://git.cantorgymnasium.de/api/v1",

View File

@ -11,7 +11,7 @@ import { GCGThemeDark, GCGThemeLight } from "./themes.js";
const config = {
backend: {
name: "gitea",
name: "gitea-large",
repo: "gcg/gcg-website",
branch: "main",
api_root: "https://git.cantorgymnasium.de/api/v1",

View File

@ -9,12 +9,12 @@
/>
<link
rel="stylesheet"
href="https://unpkg.com/@staticcms/app@^4.0.0/dist/main.css"
href="https://assets.cantorgymnasium.de/static-cms/v4/main.css"
/>
<title>Static CMS</title>
</head>
<body>
<script src="https://unpkg.com/@staticcms/app@^4.0.0/dist/static-cms-app.js"></script>
<script src="https://assets.cantorgymnasium.de/static-cms/v4/static-cms-app.js"></script>
<script type="module">
import config from "./config/index.js";
// imports

View File

@ -9,12 +9,12 @@
/>
<link
rel="stylesheet"
href="https://unpkg.com/@staticcms/app@next/dist/main.css"
href="https://assets.cantorgymnasium.de/static-cms/v4/main.css"
/>
<title>Chronikverwaltung</title>
</head>
<body>
<script src="https://unpkg.com/@staticcms/app@next/dist/static-cms-app.js"></script>
<script src="https://assets.cantorgymnasium.de/static-cms/v4/static-cms-app.js"></script>
<script type="module">
import config from "../../admin/config/schulchronik.js";
// imports