We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b908eaa commit 6f8183dCopy full SHA for 6f8183d
docs/assets/js/highlight.js
@@ -1,4 +1,5 @@
1
-BASE_URL = "http://localhost/";
+// if we are on localhost or 127.0.0.1, use the local explorer
2
+BASE_URL = window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1" ? "http://localhost/" : "https://explorer.invariantlabs.ai/";
3
4
function encodeGuardrailURIComponent(content) {
5
/**
0 commit comments