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:
@@ -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) => {
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user