Disable File Server
See original GitHub issueName of Issue
Description of Issue
- ActionHero Version:
19.0.4
- Node.js Version:
10.13.0
- Operating System:
Ubuntu
Steps to reproduce your error
- Make a new actionhero project with
npx actionhero generate
- Set urlPathForFiles to null to disable file server in config/servers/web.js
- start the server and make a request to any endpoint
Server crashes with TypeError: Cannot read property 'split' of null
here
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Whats an easy way to disable file shares without changing ...
Click on the Properties menu's "Security" tab and then select from the "Groups or Users Names" the user or group for which you'd...
Read more >Disable File and Print Sharing - University of Delaware
Disable Windows File and Print Sharing in Windows 10. Open Control Panel. Click View network status and tasks under Network and Internet.
Read more >[SOLVED] Temporarily pause file and storage services
I am migrating a file server from server 2012 to server 2016, different hardware. I have all the data/permissions copied over (robocopy), ...
Read more >Disable windows file shares without losing share config
Two methods I can think of that don't require modifying the shares: Disable the Server service. (ServiceName: LanmanServer .
Read more >Stop sharing network shares without removing them?
Uncheck "File and Printer Sharing for Microsoft Networks". Click OK. Disable, then Enable the network connection (or reboot).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s a proposal: https://github.com/actionhero/actionhero/pull/1270
Good catch! I guess we should disable it then.
What’s interesting is that we’ll have to handle some cases from the default configuration where you might disable the file server and still have the default
rootEndpointType='file'