|
|
|
@ -46,6 +46,9 @@ export function getUrl2(path, goTest) {
|
|
|
|
|
export function getUploadActionUrl(path, goTest) {
|
|
|
|
|
return `${getUrl()}/api/attachments.json${isDev ? `?debug=${window._debugType || 'admin'}` : ''}`
|
|
|
|
|
}
|
|
|
|
|
export function getUploadActionUrlOfAuth(id) {
|
|
|
|
|
return `${getUrl()}/api/users/accounts/${id}/auth_attachments.json${isDev ? `?debug=${window._debugType || 'admin'}` : ''}`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function test(path) {
|
|
|
|
|
return `${path}`;
|
|
|
|
|