mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 15:54:13 +01:00
Compare commits
9 Commits
c8cf4db9b4
...
9861b91f2d
| Author | SHA1 | Date | |
|---|---|---|---|
| 9861b91f2d | |||
| d3efe47785 | |||
| 3d2ffba475 | |||
| ea1c5a5407 | |||
| 319e2d0e9a | |||
| dca0ca8ae2 | |||
| 15dc39937b | |||
| 0ffece4813 | |||
| 795b2d5f07 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -24,5 +24,3 @@ logs
|
||||
!.env.example
|
||||
|
||||
.wrangler
|
||||
wrangler.*
|
||||
wrangler.jsonc
|
||||
|
||||
@@ -6,7 +6,7 @@ const { t } = useI18n({
|
||||
|
||||
<template>
|
||||
<div class="mt-4">
|
||||
<div class="float-left flex items-center mt-2 mr-2">
|
||||
<div class="float-left flex items-center mr-2 mt-1">
|
||||
<ClientOnly>
|
||||
<UTooltip text="It's me 👋">
|
||||
<UAvatar
|
||||
|
||||
@@ -101,9 +101,8 @@ export default defineNuxtConfig({
|
||||
|
||||
nitro: {
|
||||
preset: 'cloudflare_module',
|
||||
prerender: {
|
||||
routes: ['/'],
|
||||
crawlLinks: true,
|
||||
cloudflare: {
|
||||
nodeCompat: true
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
4
worker-configuration.d.ts
vendored
4
worker-configuration.d.ts
vendored
@@ -8603,7 +8603,7 @@ type AIGatewayHeaders = {
|
||||
[key: string]: string | number | boolean | object;
|
||||
};
|
||||
type AIGatewayUniversalRequest = {
|
||||
provider: AIGatewayProviders | string; // eslint-disable-line
|
||||
provider: AIGatewayProviders | string;
|
||||
endpoint: string;
|
||||
headers: Partial<AIGatewayHeaders>;
|
||||
query: unknown;
|
||||
@@ -8619,7 +8619,7 @@ declare abstract class AiGateway {
|
||||
gateway?: UniversalGatewayOptions;
|
||||
extraHeaders?: object;
|
||||
}): Promise<Response>;
|
||||
getUrl(provider?: AIGatewayProviders | string): Promise<string>; // eslint-disable-line
|
||||
getUrl(provider?: AIGatewayProviders | string): Promise<string>;
|
||||
}
|
||||
interface AutoRAGInternalError extends Error {
|
||||
}
|
||||
|
||||
51
wrangler.jsonc
Normal file
51
wrangler.jsonc
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "artsite",
|
||||
"compatibility_date": "2025-12-13",
|
||||
"compatibility_flags": [
|
||||
"nodejs_compat",
|
||||
],
|
||||
"preview_urls": true,
|
||||
"workers_dev": true,
|
||||
"main": "./.output/server/index.mjs",
|
||||
"routes": [
|
||||
{
|
||||
"pattern": "v2.arthurdanjou.fr",
|
||||
"zone_name": "arthurdanjou.fr",
|
||||
"custom_domain": true
|
||||
}
|
||||
],
|
||||
"placement": {
|
||||
"mode": "smart",
|
||||
},
|
||||
"assets": {
|
||||
"binding": "ASSETS",
|
||||
"directory": "./.output/public/"
|
||||
},
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
"database_id": "d6e8c2ff-399a-4bec-b1b3-4bfe57d50ea8"
|
||||
}
|
||||
],
|
||||
"kv_namespaces": [
|
||||
{
|
||||
"binding": "CACHE",
|
||||
"id": "f0766ace1d24423ba6e5cac4fb8f2054",
|
||||
}
|
||||
],
|
||||
"observability": {
|
||||
"enabled": true,
|
||||
"logs": {
|
||||
"enabled": true,
|
||||
"head_sampling_rate": 1,
|
||||
"persist": true,
|
||||
"invocation_logs": true
|
||||
},
|
||||
"traces": {
|
||||
"enabled": true,
|
||||
"head_sampling_rate": 1,
|
||||
"persist": true
|
||||
}
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user