build: Split sub-store.min.js for better performance on iOS devices

This commit is contained in:
Peng-YM
2022-09-09 23:11:13 +08:00
parent 1c29771de9
commit 6ee6a9b5e2
17 changed files with 673 additions and 513 deletions

View File

@@ -2,10 +2,10 @@ import { getPlatformFromHeaders } from '@/utils/platform';
import { COLLECTIONS_KEY, SUBS_KEY } from '@/constants';
import { findByName } from '@/utils/database';
import { getFlowHeaders } from '@/utils/flow';
import { produceArtifact } from './artifacts';
import $ from '@/core/app';
import { failed } from '@/restful/response';
import { InternalServerError, ResourceNotFoundError } from '@/restful/errors';
import { produceArtifact } from '@/restful/sync';
export default function register($app) {
$app.get('/download/collection/:name', downloadCollection);