mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-07-05 03:48:47 +00:00
feat: migrate backend to cosmiconfig
This commit is contained in:
27
backend/backend/config/default/app/index.js
Normal file
27
backend/backend/config/default/app/index.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import userGroupSetting from './user-group-setting.js';
|
||||
import languageSetting from './language-setting.js';
|
||||
import menus from './menu.js';
|
||||
|
||||
/** @type {import('@openstapps/core').SCAppConfiguration} */
|
||||
const app = {
|
||||
aboutPages: {},
|
||||
campusPolygon: {
|
||||
coordinates: [
|
||||
[
|
||||
[8.660_432_999_690_723, 50.123_027_017_044_436],
|
||||
[8.675_496_285_518_358, 50.123_027_017_044_436],
|
||||
[8.675_496_285_518_358, 50.130_661_764_486_42],
|
||||
[8.660_432_999_690_723, 50.130_661_764_486_42],
|
||||
[8.660_432_999_690_723, 50.123_027_017_044_436],
|
||||
],
|
||||
],
|
||||
type: 'Polygon',
|
||||
},
|
||||
features: {},
|
||||
menus,
|
||||
name: 'Goethe-Uni',
|
||||
privacyPolicyUrl: 'https://mobile.server.uni-frankfurt.de/_static/privacy.md',
|
||||
settings: [userGroupSetting, languageSetting],
|
||||
};
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user