1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-07 22:50:05 +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?.setHeader('Content-type', 'text/plain')
} }
req.res?.sendFile(path.resolve(filePathFull)) req.res?.sendFile(path.resolve(filePathFull), { dotfiles: 'allow' })
} }
const getFolder = async (folderPath?: string) => { const getFolder = async (folderPath?: string) => {

View File

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

View File

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