- Sistemato link pdf che ogni volta che si aggiorna prendeva il PDF dalla cache...
- Raccolta Cataloghi, procedura che li AUTO genera in automatico.
This commit is contained in:
@@ -10682,11 +10682,11 @@ export const tools = {
|
||||
return 0;
|
||||
}
|
||||
},
|
||||
getURLByHostAndFilePath(filepath: string) {
|
||||
getURLByHostAndFilePath(filepath: string, timestamp: string = '') {
|
||||
try {
|
||||
let myurl = filepath.startsWith('/')
|
||||
? tools.getHost() + filepath
|
||||
: tools.getHost() + '/' + filepath;
|
||||
: tools.getHost() + '/' + filepath + `?ts=${timestamp}`;
|
||||
return myurl;
|
||||
} catch (e) {
|
||||
return filepath;
|
||||
|
||||
Reference in New Issue
Block a user