Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
fix: use path rather than uri for go imports Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmZP8iwACgkQuFOtpdp7 v3qRyxAA1kbXUOtEIAxluqDjMLkvh6Vg+z4m2wPZOPsE84N8gc/G+jE8FYCQq7qc GTzJYgfExy7GkXGI1l2CFb5FZ+tDpOBvhimpZ9pe/KrWWFPRmanV9aygQYCFfQ4P XM7h9anTC/2f252Ma3/MUuwWQk2iyu9/3nHOyljI/LyC72eRePvB1tzfiTyl/YJx 1Pfaz1MCALrg93Lk0JRhb7m2W7FqUOFQrQqxZ8Ht2aFnuZSBGNx15498jzMviVGY ct9YByeEFKZV0kQvILmIB2SiLocpGLTJ/gN7CJwt2yZRM7M62AovxPC9US+QcdMM 1isE+syK+aO9hjktjRjRbqhOLikUJG6y1UU3JLV0lC7IuNLueIFCUMNiSn1TPVzY KIeLTUNDAdAsIP0koxXYVHKVZH6DqQGojxdVOFrqXh/0VLr/fuOFm1/5SvQIUtT3 OSkyhE1OV3m/NKXNRlxmEWTc3p8BkV03uzOxiLxXTNSGHLY6QTk9pEn+Mj7OM4Hr u6isvTiWOiSKUFixanyOysrctxhyduZ8e3nPqOoaqEtElJJbGWW3yYpfZ/OvJncI ZEtJdla4LHizs1L2LSAqs32/1DTtNMRSHAE/7jN37Dw6NoadXD0jmt5mMIUUfTON OWXyRw32iyjRRVeSvfMKmWEJFIq688w6FUARl201UTXENj+zkvU= =PKmY -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
7 months ago
1 changed files, 3 additions(+), 3 deletions(-)
M machines/dragonwell/caddy.nix -> machines/dragonwell/caddy.nix
diff --git a/machines/dragonwell/caddy.nix b/machines/dragonwell/caddy.nix
index 1d66c9c6e749290ef624fe993417c6ac36c38158..c6f1dd894bee87ecc66e7ee7f7d263527ef3c6ee 100644
--- a/machines/dragonwell/caddy.nix
+++ b/machines/dragonwell/caddy.nix
@@ -36,11 +36,11 @@       "go.jolheiser.com" = {
         extraConfig = ''
           header Content-Type text/html
           respond /* `<html><head>
-            <meta name="go-import" content="go.jolheiser.com{uri} git https://git.jojodev.com/jolheiser{uri}.git">
+            <meta name="go-import" content="go.jolheiser.com{path} git https://git.jojodev.com/jolheiser{path}.git">
+      "jolheiser.com" = {
     enable = true;
-    virtualHosts = {
             </head><body>
-            Redirecting to <a href="https://pkg.go.dev/go.jolheiser.com{uri}">https://pkg.go.dev/go.jolheiser.com{uri}</a>
+            Redirecting to <a href="https://pkg.go.dev/go.jolheiser.com{path}">https://pkg.go.dev/go.jolheiser.com{path}</a>
             </body></html>`
         '';
       };