File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " web" ,
3
- "version" : " 4.6.1 " ,
3
+ "version" : " 4.7.0 " ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"dev" : " concurrently pnpm:dev:*" ,
Original file line number Diff line number Diff line change 18
18
logs = [];
19
19
const bot = new KideAppBot ({
20
20
token: $normalizedToken ,
21
- extraIdApiUrl: ` ${ PUBLIC_API_URL_HTTP } /extraid`
21
+ extraIdApiUrl: ` /api /extraid`
22
22
});
23
23
bot .setOnIsActiveChanged (isActive => (isRunning = isActive ));
24
24
bot .setOnLog (log => (logs = [... logs , log ]));
Original file line number Diff line number Diff line change
1
+ import { getLatestExtraID } from 'kideappbot' ;
2
+ import type { RequestHandler } from '../$types' ;
3
+
4
+ export const GET : RequestHandler = async ( ) => {
5
+ const id = await getLatestExtraID ( ) ;
6
+ return new Response ( String ( id ) ) ;
7
+ } ;
Original file line number Diff line number Diff line change 7
7
"type" : " git" ,
8
8
"url" : " https://github.com/aleksivirkkala/kideappbot.git"
9
9
},
10
- "version" : " 4.6.1 " ,
10
+ "version" : " 4.7.0 " ,
11
11
"scripts" : {
12
12
"build" : " turbo run build" ,
13
13
"dev" : " dotenv -- turbo run dev --concurrency 16" ,
You can’t perform that action at this time.
0 commit comments