From 931899d2021ac64615461e8dd60f7debdaf23db1 Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Sat, 17 Feb 2024 22:06:31 +0000 Subject: [PATCH] feat: use git revision for versioning container --- extension/src/config.js | 2 +- flake.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extension/src/config.js b/extension/src/config.js index 7c0e9da..057a8d0 100644 --- a/extension/src/config.js +++ b/extension/src/config.js @@ -1 +1 @@ -this.SERVER_URL = 'http://localhost:8000'; +this.SERVER_URL = 'https://aci-api.ashhhleyyy.dev'; diff --git a/flake.nix b/flake.nix index 883e6d9..5e692fe 100644 --- a/flake.nix +++ b/flake.nix @@ -19,7 +19,7 @@ uvicorn python-lsp-server ]; - version = builtins.substring 0 8 self.lastModifiedDate; + version = self.rev or self.dirtyShortDev or "dirty-inputs"; in { packages = {