mirror of
https://github.com/aljazceru/enclava.git
synced 2025-12-19 00:14:24 +01:00
plugin system
This commit is contained in:
@@ -19,7 +19,7 @@ export async function POST(
|
||||
|
||||
// Make request to backend plugins unload endpoint
|
||||
const baseUrl = process.env.INTERNAL_API_URL || process.env.NEXT_PUBLIC_API_URL
|
||||
const url = `${baseUrl}/api/v1/plugins/${pluginId}/unload`
|
||||
const url = `${baseUrl}/api/plugins/${pluginId}/unload`
|
||||
|
||||
const response = await fetch(url, {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user