forked from mirrors/amnezia-wg-easy
fix: icons & buttons view
* update the viewBox of svg elements * add cursor pointer when hover the restore button * rebuild the css
This commit is contained in:
parent
3dc83f9c25
commit
10d24fa04b
3 changed files with 49 additions and 64 deletions
|
@ -265,7 +265,7 @@ module.exports = class Server {
|
|||
});
|
||||
};
|
||||
|
||||
// import_export
|
||||
// backup_restore
|
||||
const router3 = createRouter();
|
||||
app.use(router3);
|
||||
|
||||
|
@ -293,7 +293,7 @@ module.exports = class Server {
|
|||
getMeta: async (id) => {
|
||||
const filePath = safePathJoin(publicDir, id);
|
||||
|
||||
const stats = await stat(filePath).catch(() => { });
|
||||
const stats = await stat(filePath).catch(() => {});
|
||||
if (!stats || !stats.isFile()) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue