Skip to content

Commit 49206b8

Browse files
committed
remove /v2
1 parent 7fbfc48 commit 49206b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/routes/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import json
55
from app.services.actions_loader import actions_loader
66

7-
router = APIRouter(prefix="/api/v2", tags=["generate"])
7+
router = APIRouter(prefix="/api", tags=["generate"])
88

99
class GenerateRequest(BaseModel):
1010
action_ids: List[str]

app/templates/generate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ <h3 class="text-lg font-black text-black mb-2">🔧 Configuration Patch</h3>
213213
const selectedFormats = getSelectedFormats();
214214

215215
// Fetch details for all selected actions and formats
216-
const response = await fetch('/api/v2/generate', {
216+
const response = await fetch('/api/generate', {
217217
method: 'POST',
218218
headers: {
219219
'Content-Type': 'application/json'

0 commit comments

Comments
 (0)