fix(endpoint):

This commit is contained in:
Alexander Myasoedov
2024-08-20 01:35:16 +03:00
parent 7d6ec625b9
commit ed12bc0397
2 changed files with 8 additions and 22 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ def self_probe(probe: Probe):
@app.get("/v1/data-config")
def data_config():
async def data_config():
return [m for m in REGISTRY]
+7 -21
View File
@@ -21,7 +21,7 @@
technopollas: ['Technopollas', 'sans-serif'],
},
colors: {
dark: {
dark:{
bg: '#121212',
card: '#1E1E1E',
text: '#FFFFFF',
@@ -31,8 +31,7 @@
orange: '#FF9800',
yellow: '#FFEB3B',
},
},
},
},},
borderRadius: {
'lg': '1rem',
},
@@ -55,30 +54,18 @@
</div>
<!-- Header with Github link -->
<header class="flex justify-between items-center mb-8 relative">
<header class="flex justify-between items-center mb-8 relative"
v-if="false">
<div class="w-full absolute left-0 flex justify-center">
<h1
class="text-4xl font-bold text-gray-400"> <span
class="text-2xl font-technopollas text-dark-accent-green">Agentic
class="text-2xl font-bold text-gray-400"> <span
class="text-2xl font-technopollas text-gray-300">Agentic
</span>
Vulnerability
Scanner</h1>
</div>
<div class="w-full flex justify-end relative z-10">
<a href="https://github.com/msoedov/agentic_security" target="_blank"
rel="noreferrer"
class="flex items-center gap-2 text-dark-accent-green hover:underline">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path
d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" />
<path d="M9 18c-4.51 2-5-2-7-2" />
</svg>
<span class="hidden md:inline">Docs</span>
</a>
</div>
</header>
<main class="max-w-6xl mx-auto space-y-8">
@@ -302,7 +289,6 @@
<h3
class="text-lg font-semibold text-dark-accent-green mb-4">Home</h3>
<p class="text-gray-400">Dedicated to LLM Security, 2024</p>
<p class="text-gray-400 mt-2">© Agentic Security</p>
</div>
<!-- Column 2 -->