From 26f0ba5464131630db06dcbba5b445516b95c2ff Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 1 Oct 2021 19:57:43 +0300 Subject: refactor(web): use static.tvl.{fyi|su} for static assets Replaces all uses of relative static paths in TVL pages with the static.tvl.fyi domain. Where possible, the drv hash is directly embedded in the content. Change-Id: Ia882dd37ceae9d047cd81cf1eb37a856b339643a Reviewed-on: https://cl.tvl.fyi/c/depot/+/3682 Tested-by: BuildkiteCI Reviewed-by: sterni --- web/todolist/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'web/todolist') diff --git a/web/todolist/default.nix b/web/todolist/default.nix index e7be6e30c799..938902f31563 100644 --- a/web/todolist/default.nix +++ b/web/todolist/default.nix @@ -66,14 +66,16 @@ let
''; + staticUrl = "https://static.tvl.fyi/${depot.web.static.drvHash}"; + todoPage = writeText "index.html" '' - - + + TVL's todo-list