mirror of
https://github.com/tale/headplane.git
synced 2026-08-27 15:37:04 +00:00
feat: respect context in server
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { hp_getConfig } from './loader';
|
||||
import { HeadplaneConfig } from './parser';
|
||||
|
||||
export interface AppContext {
|
||||
context: HeadplaneConfig;
|
||||
}
|
||||
|
||||
export default function appContext() {
|
||||
return {
|
||||
context: hp_getConfig(),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user