mirror of
https://github.com/hazemKrimi/touch-programming.git
synced 2026-05-01 18:20:26 +00:00
Server directory structure and streaming optimization
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ function App() {
|
||||
(async function() {
|
||||
setCode('');
|
||||
|
||||
const response = await fetch(`${import.meta.env.VITE_API_URL}/generate?lang=java&lines=15`);
|
||||
const response = await fetch(`${import.meta.env.VITE_API_URL}/generate?lang=lua`);
|
||||
const reader = response.body.getReader();
|
||||
const decoder = new TextDecoder();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user