mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-22 14:54:22 +01:00
api --> controllers/api
This commit is contained in:
6
src/controllers/api/fallback.ts
Normal file
6
src/controllers/api/fallback.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { Context } from '@/deps.ts';
|
||||
|
||||
const emptyArrayController = (c: Context) => c.json([]);
|
||||
const emptyObjectController = (c: Context) => c.json({});
|
||||
|
||||
export { emptyArrayController, emptyObjectController };
|
||||
Reference in New Issue
Block a user