mirror of
https://github.com/MarSeventh/CloudFlare-ImgBed.git
synced 2026-04-27 23:55:01 +00:00
fix:所有模块导入/导出的兼容性问题
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
var databaseAdapter = require('../../../utils/databaseAdapter');
|
||||
var getDatabase = databaseAdapter.getDatabase;
|
||||
import { getDatabase } from '../../../utils/databaseAdapter.js';
|
||||
|
||||
export async function onRequest(context) {
|
||||
// 上传设置相关,GET方法读取设置,POST方法保存设置
|
||||
|
||||
Reference in New Issue
Block a user