Use Gitea proxy backend for faster CMS #309
@ -20,7 +20,7 @@ import { GCGThemeDark, GCGThemeLight } from "./themes.js";
|
|||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
backend: {
|
backend: {
|
||||||
name: "gitea",
|
name: "gitea-large",
|
||||||
repo: "gcg/gcg-website",
|
repo: "gcg/gcg-website",
|
||||||
branch: "main",
|
branch: "main",
|
||||||
api_root: "https://git.cantorgymnasium.de/api/v1",
|
api_root: "https://git.cantorgymnasium.de/api/v1",
|
||||||
|
@ -11,7 +11,7 @@ import { GCGThemeDark, GCGThemeLight } from "./themes.js";
|
|||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
backend: {
|
backend: {
|
||||||
name: "gitea",
|
name: "gitea-large",
|
||||||
repo: "gcg/gcg-website",
|
repo: "gcg/gcg-website",
|
||||||
branch: "main",
|
branch: "main",
|
||||||
api_root: "https://git.cantorgymnasium.de/api/v1",
|
api_root: "https://git.cantorgymnasium.de/api/v1",
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
/>
|
/>
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
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>
|
<title>Static CMS</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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">
|
<script type="module">
|
||||||
import config from "./config/index.js";
|
import config from "./config/index.js";
|
||||||
// imports
|
// imports
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
/>
|
/>
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
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>
|
<title>Chronikverwaltung</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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">
|
<script type="module">
|
||||||
import config from "../../admin/config/schulchronik.js";
|
import config from "../../admin/config/schulchronik.js";
|
||||||
// imports
|
// imports
|
||||||
|
Loading…
x
Reference in New Issue
Block a user