Feature: add custom short url server

#69

ISSUES CLOSED: #69
This commit is contained in:
萌萌哒赫萝
2023-07-11 20:07:33 -07:00
parent 3b3c70a53f
commit d4a22f9e63
16 changed files with 167 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
import { IPasteStyle } from '#/types/enum'
import { generateShortUrl } from '#/utils/common'
import { generateShortUrl } from '~/main/utils/common'
import db from '~/main/apis/core/datastore'
import { handleUrlEncodeWithSetting } from './common'