From a67c7e5bee8e4b9acee406d09f7fb1a7028cbda7 Mon Sep 17 00:00:00 2001 From: Anton Shepilov Date: Tue, 23 Jan 2024 14:23:00 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9Bdo=20not=20display=20empty=20menu?= =?UTF-8?q?=20for=20"shared=5Fwith=5Fme"=20(#346)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/views/client/body/drive/browser.tsx | 24 ++++++++++--------- tdrive/frontend/src/setupProxy.js | 4 ++-- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/tdrive/frontend/src/app/views/client/body/drive/browser.tsx b/tdrive/frontend/src/app/views/client/body/drive/browser.tsx index 70111f99..99bdaa89 100644 --- a/tdrive/frontend/src/app/views/client/body/drive/browser.tsx +++ b/tdrive/frontend/src/app/views/client/body/drive/browser.tsx @@ -349,18 +349,20 @@ export default memo( {formatBytes(item?.size || 0)} {Languages.t('scenes.app.drive.used')} )} - onBuildContextMenu(details)}> - {' '} - - + + + + )} diff --git a/tdrive/frontend/src/setupProxy.js b/tdrive/frontend/src/setupProxy.js index dd0a5a00..c2367cbf 100644 --- a/tdrive/frontend/src/setupProxy.js +++ b/tdrive/frontend/src/setupProxy.js @@ -4,7 +4,7 @@ module.exports = function (app) { app.use( '/internal', createProxyMiddleware({ - target: 'http://localhost:4000', + target: 'http://127.0.0.1:4000', onError: (err, req, resp) => { console.log(err); }, @@ -13,7 +13,7 @@ module.exports = function (app) { app.use( '/__', createProxyMiddleware({ - target: 'http://localhost:4000', + target: 'http://127.0.0.1:4000', }), ); };