mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-22 15:42:31 +02:00
fix: createdocument, createtemplate and createdocumentwithtemplate APIs not working
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export function customAPIurl() {
|
||||
const url = new URL(process.env.SERVER_URL);
|
||||
return url.pathname === '/api/app' ? url.origin + '/api' : url.origin;
|
||||
}
|
||||
Reference in New Issue
Block a user