umstellung auf claud
This commit is contained in:
1 parent
79c5f0c5cd
commit
5bb4e063da
171 files changed
+5471
-1333
No files matched your search
@@ -1,7 +1,8 @@
|
||||
'use server';
|
||||
import { BACKEND_URL } from '@/_config/backend';
|
||||
import { revalidatePath } from 'next/cache';
|
||||
import type { TextTable, TextComparison } from '@/types/texte';
|
||||
const url = 'http://localhost:3000/rk2/texte';
|
||||
const url = BACKEND_URL + '/rk2/texte';
|
||||
async function request(init?: RequestInit): Promise<TextTable> {
|
||||
const response = await fetch(url, { cache: 'no-store', ...init });
|
||||
const data = await response.json();
|
||||
|
||||
Reference in new issue
Block a user