mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-11 18:10:32 +08:00
📝 Docs(custom): prepare for 2.81
This commit is contained in:
@@ -36,7 +36,6 @@ const handleClipboardUploading = async (): Promise<false | ImgInfo[]> => {
|
||||
|
||||
export const uploadClipboardFiles = async (): Promise<IStringKeyMap> => {
|
||||
const img = await handleClipboardUploading()
|
||||
console.log(img)
|
||||
if (img !== false) {
|
||||
if (img.length > 0) {
|
||||
const trayWindow = windowManager.get(IWindowList.TRAY_WINDOW)
|
||||
|
||||
@@ -151,7 +151,7 @@ class Server {
|
||||
private handleGetRequest = (_request: http.IncomingMessage, response: http.ServerResponse) => {
|
||||
const [url, query] = (_request.url || '').split('?')
|
||||
if (!routers.getHandler(url, 'GET')) {
|
||||
console.log(`[PicList Server] don't support [${url}] endpoint`)
|
||||
logger.info(`[PicList Server] don't support [${url}] endpoint`)
|
||||
response.statusCode = 404
|
||||
response.end()
|
||||
} else {
|
||||
|
||||
@@ -2405,7 +2405,6 @@ function handleWebServerPathChange (val: string) {
|
||||
}
|
||||
|
||||
function confirmWebServerSetting () {
|
||||
console.log('confirmWebServerSetting')
|
||||
if (form.enableWebServer) {
|
||||
sendToMain('restartWebServer')
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user