mirror of
https://github.com/MarSeventh/CloudFlare-ImgBed.git
synced 2026-05-04 10:56:36 +00:00
fix:所有模块导入/导出的兼容性问题
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { readIndex } from '../../../utils/indexManager.js';
|
||||
var databaseAdapter = require('../../../utils/databaseAdapter');
|
||||
var getDatabase = databaseAdapter.getDatabase;
|
||||
import { getDatabase } from '../../../utils/databaseAdapter.js';
|
||||
|
||||
export async function onRequest(context) {
|
||||
const { request, env } = context;
|
||||
|
||||
Reference in New Issue
Block a user