refactor: separate meta api for admin or not

This commit is contained in:
syuilo 2022-03-25 01:50:28 +09:00
parent 725b78349a
commit d0a346ed8a
14 changed files with 413 additions and 196 deletions

View file

@ -60,7 +60,7 @@ export default defineComponent({
methods: {
async init() {
const meta = await os.api('meta', { detail: true });
const meta = await os.api('admin/meta');
this.uri = meta.uri;
this.enableGithubIntegration = meta.enableGithubIntegration;
this.githubClientId = meta.githubClientId;