Skip to content

Commit

Permalink
恢复telegraph图床
Browse files Browse the repository at this point in the history
  • Loading branch information
SokWith authored Sep 13, 2024
1 parent fa39497 commit a8d3ff5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions album-management.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ function uploadImageAndGetFullUrl(uploadEndpoint, hostUrl, file) {

// 定义host URL和上传端点
//const hostUrl = 'https://imghost.wook.eu.org';
//const hostUrl = 'https://' + window.location.hostname;
//const uploadEndpoint = '/upload';
const hostUrl = 'https://' + window.location.hostname;
const uploadEndpoint = '/upload';
//由于telegraph已关闭,使用微信开发平台
const hostUrl = ''
const uploadEndpoint = '/uploadtx';
//const hostUrl = ''
//const uploadEndpoint = '/uploadtx';

// 在文档加载完成后添加事件监听器
document.addEventListener('DOMContentLoaded', function() {
Expand Down

0 comments on commit a8d3ff5

Please sign in to comment.