mirror of
https://github.com/wg-easy/wg-easy.git
synced 2025-10-05 15:47:18 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user