Create vue models without args
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
<script setup>
|
||||
|
||||
const API_ORIGIN = import.meta.env.VITE_API_ORIGIN ? import.meta.env.VITE_API_ORIGIN : window.location.origin;
|
||||
|
||||
import { ref, onMounted } from 'vue';
|
||||
import { Button } from 'pankow';
|
||||
import { prettyDate } from 'pankow/utils';
|
||||
import Section from '../components/Section.vue';
|
||||
import AppstoreModel from '../models/AppstoreModel.js';
|
||||
|
||||
const appstoreModel = AppstoreModel.create(API_ORIGIN, localStorage.token);
|
||||
const appstoreModel = AppstoreModel.create();
|
||||
|
||||
// TODO maybe support dev.console.cloudron.io
|
||||
const consoleServerOrigin = 'https://console.cloudron.io';
|
||||
|
||||
Reference in New Issue
Block a user