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:
@@ -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) => {
|
||||
|
||||
@@ -306,7 +306,7 @@ const SASjsEditor = ({
|
||||
borderColor: 'divider',
|
||||
position: 'fixed',
|
||||
background: 'white',
|
||||
width: '100%'
|
||||
width: '85%'
|
||||
}}
|
||||
>
|
||||
<TabList onChange={handleTabChange} centered>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user