From ad7cd98bfd029ab68b7c07f10cebb5230993f986 Mon Sep 17 00:00:00 2001 From: tpluscode Date: Mon, 14 Oct 2024 10:05:32 +0200 Subject: [PATCH 1/2] refactor: absolute src in script --- example/kopflos.config.ts | 2 +- example/resources/api/index.ttl | 2 +- example/ui/{plaque/index.html => plaque.html} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename example/ui/{plaque/index.html => plaque.html} (97%) diff --git a/example/kopflos.config.ts b/example/kopflos.config.ts index fb95661..8a864c5 100644 --- a/example/kopflos.config.ts +++ b/example/kopflos.config.ts @@ -26,7 +26,7 @@ export default { }, '@kopflos-cms/vite': { root: 'ui', - entrypoints: ['ui/*/*.html'], + entrypoints: ['ui/*.html'], }, }, } diff --git a/example/resources/api/index.ttl b/example/resources/api/index.ttl index 7bd5bab..0c5e428 100644 --- a/example/resources/api/index.ttl +++ b/example/resources/api/index.ttl @@ -36,7 +36,7 @@ PREFIX kl: [ a code:EcmaScriptModule ; code:link ; - code:arguments ( "${uiRoot}/${type}/index.html"^^code:EcmaScriptTemplateLiteral ) ; + code:arguments ( "${uiRoot}/${type}.html"^^code:EcmaScriptTemplateLiteral ) ; ] [ a code:EcmaScriptModule ; diff --git a/example/ui/plaque/index.html b/example/ui/plaque.html similarity index 97% rename from example/ui/plaque/index.html rename to example/ui/plaque.html index f7c1f85..4c9f654 100644 --- a/example/ui/plaque/index.html +++ b/example/ui/plaque.html @@ -64,6 +64,6 @@

Welcome to My Project

© 2024 Zazuko

- + From 0e2588da39490e82807a6938f188c78d98d3033a Mon Sep 17 00:00:00 2001 From: tpluscode Date: Mon, 14 Oct 2024 10:11:48 +0200 Subject: [PATCH 2/2] build: up oxigraph --- example/docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/docker-compose.yaml b/example/docker-compose.yaml index 0711263..4aa8bba 100644 --- a/example/docker-compose.yaml +++ b/example/docker-compose.yaml @@ -1,7 +1,7 @@ version: '2' services: oxigraph: - image: ghcr.io/oxigraph/oxigraph:0.4.0-rc.1 + image: ghcr.io/oxigraph/oxigraph:0.4.1 user: root command: serve --location /data --bind 0.0.0.0:7878 ports: