Skip to content

Commit

Permalink
Move "app.config.ts" to a better location for sharing
Browse files Browse the repository at this point in the history
... across packages
  • Loading branch information
ThrRip committed Nov 7, 2023
1 parent b494c0b commit 1bec3bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 7 additions & 0 deletions app.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default defineAppConfig({
backendBase: 'https://api.mzg.fan/v1',
backendProjectId: '649758e1eb1fa584a04d',

biliApiRoomPlayInfoEndpoint: 'https://api.live.bilibili.com/xlive/web-room/v2/index/getRoomPlayInfo',
biliApiRoomPlayInfoEndpointQueries: { room_id: '1267105' }
})
8 changes: 1 addition & 7 deletions packages/home/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
export default defineAppConfig({
backendBase: 'https://api.mzg.fan/v1',
backendProjectId: '649758e1eb1fa584a04d',

biliApiRoomPlayInfoEndpoint: 'https://api.live.bilibili.com/xlive/web-room/v2/index/getRoomPlayInfo',
biliApiRoomPlayInfoEndpointQueries: { room_id: '1267105' }
})
export { default } from '../../app.config'

0 comments on commit 1bec3bd

Please sign in to comment.