ab0b842fca
This commit centralizes Gemini API interaction into a new `server.ts` file and removes it from the client-side `geminiService.ts`. It also updates the build process in `package.json` to use `esbuild` for bundling the server code, enabling a more robust build pipeline. The `index.html` has been cleaned up by removing unnecessary OneSignal SDK initialization. Additionally, dev dependencies have been updated, including `esbuild` to version `0.28.0`. A new `test2.ts` file is added for testing Gemini API connectivity.
14 lines
311 B
HTML
14 lines
311 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>My Google AI Studio App</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|
|
|