Skip to content

Commit b2395a4

Browse files
Merge pull request #2 from SinSo-API/dev
feat:deploy-action-test
2 parents 5f0f289 + 1dd37d7 commit b2395a4

3 files changed

Lines changed: 10 additions & 16 deletions

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@
1919
"tsx": "^4.20.6",
2020
"vite-ssr-components": "^0.5.1",
2121
"wrangler": "^4.42.2"
22-
}
22+
},
23+
"build": "wrangler deploy"
24+
2325
}

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ app.get('/health', (c) => {
2323
// Root
2424
app.get('/', (c) => {
2525
return c.json({
26-
message: 'Welcome to SinSo API Lite',
26+
message: 'Welcome to SinSo API Lite !!!',
2727
version: APP_VERSION,
2828
Author: APP_AUTHOR,
2929
endpoints: {

wrangler.jsonc

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
// {
2-
// "$schema": "node_modules/wrangler/config-schema.json",
3-
// "name": "sinso-api-lite",
4-
// "compatibility_date": "2025-08-03",
5-
// "main": "./src/index.tsx",
6-
// "d1_databases": [
7-
// {
8-
// "binding": "sinso_api_db",
9-
// "database_name": "sinso-api-db",
10-
// "database_id": "fc4dd8e5-6393-40c5-9e69-cb160378e506"
11-
// }
12-
// ]
13-
// }
14-
151
{
162
"$schema": "node_modules/wrangler/config-schema.json",
173
"name": "sinso-api-lite",
@@ -23,5 +9,11 @@
239
"database_name": "sinso-api-db",
2410
"database_id": "fc4dd8e5-6393-40c5-9e69-cb160378e506"
2511
}
12+
],
13+
"routes": [
14+
{
15+
"pattern": "api.sinso.vishalrashmika.com/*",
16+
"zone_name": "vishalrashmika.com"
17+
}
2618
]
2719
}

0 commit comments

Comments
 (0)