附件迁移至公网

This commit is contained in:
syruan 2025-02-25 18:52:53 +08:00
parent 1109919370
commit 2f3589db4e
2 changed files with 2 additions and 4 deletions

View File

@ -392,8 +392,7 @@ const downloadContract = () => {
//
const downloadAnnex = async () => {
const baseUrl = window.location.origin.replace(/^http:/, 'https:'); // HTTP HTTPS
const fileUrl = `${baseUrl}/contract-annex.docx`;
const fileUrl = `https://zlpt-1259760603.cos.ap-nanjing.myqcloud.com/2025/contract-annex.docx`;
try {
const response = await fetch(fileUrl);

View File

@ -733,8 +733,7 @@ const downloadContract = () => {
//
const downloadAnnex = async () => {
const baseUrl = window.location.origin.replace(/^http:/, 'https:'); // HTTP HTTPS
const fileUrl = `${baseUrl}/contract-annex.docx`;
const fileUrl = `https://zlpt-1259760603.cos.ap-nanjing.myqcloud.com/2025/contract-annex.docx`;
try {
const response = await fetch(fileUrl);