Files
DefectingCat 5e6efb9976 Update search box
* add forward ref
* add get posts API
* Add search loading card
* Search page done
* Update build script
2022-02-09 17:59:33 +08:00

4 lines
131 B
TypeScript

const dev = process.env.NODE_ENV !== 'production';
export const server = dev ? 'http://localhost:3000' : 'https://blog.rua.plus';