add ci
This commit is contained in:
@@ -6,7 +6,7 @@ import { migrateFeedsToDevices } from '../utils/migrateFeedsToDevices.js'
|
||||
* so credentials are printed in the terminal before any request.
|
||||
* Close DB on server shutdown to avoid native sqlite3 crashes in worker teardown.
|
||||
*/
|
||||
// eslint-disable-next-line no-undef
|
||||
|
||||
export default defineNitroPlugin((nitroApp) => {
|
||||
void getDb().then(() => migrateFeedsToDevices())
|
||||
nitroApp.hooks.hook('close', () => {
|
||||
|
||||
Reference in New Issue
Block a user