1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 11:24:35 +00:00

chore: code fixes

This commit is contained in:
2022-07-26 14:16:27 +05:00
parent ce2114e3f6
commit 2ce947d216
3 changed files with 3 additions and 3 deletions

View File

@@ -337,7 +337,7 @@ const getFile = async (req: express.Request, filePath: string) => {
req.res?.setHeader('Content-type', 'text/plain')
}
req.res?.sendFile(path.resolve(filePathFull))
req.res?.sendFile(path.resolve(filePathFull), { dotfiles: 'allow' })
}
const getFolder = async (folderPath?: string) => {

View File

@@ -306,7 +306,7 @@ const SASjsEditor = ({
borderColor: 'divider',
position: 'fixed',
background: 'white',
width: '100%'
width: '85%'
}}
>
<TabList onChange={handleTabChange} centered>

View File

@@ -7,7 +7,7 @@ import BootstrapSnackbar, { AlertSeverityType } from '../../components/snackbar'
import Modal from '../../components/modal'
import { TreeNode } from '../../utils/types'
const drawerWidth = 240
const drawerWidth = '15%'
type Props = {
selectedFilePath: string