<div dir="ltr"><div><div><div><div><div><div>I've started to use ZnZincStaticServerAdaptor but I can't get the behavior I want.<br><br></div>When using <br><br>> ZnZincStaticServerAdaptor startOn: 8080 andServeFilesFrom: (FileLocator imageDirectory / 'assets').<br>
> ZnZincStaticServerAdaptor default server debugMode: true.<br><br></div>I have a super simple root component that renders fine.<br><br></div>But if I call a non existent method I get a 404 'Not Found'. <br><br>
ZnSeasideServerAdaptorDelegate>handleRequest: znRequest<br></div>| response |<br> response := self adaptor process: znRequest.<br> ^ (response isError and: [ response isAuthenticationRequired not ])<br> ifTrue: [ self staticDelegate handleRequest: znRequest ]<br>
ifFalse: [ response ].<br><br></div>That explains the behavior. Is there a way to set a debugMode that does not trigger the fallback to the staticDelegate if the adaptor returns an error ? (opening a debugger would be great). <br>
<br></div>Cheers,<br>Francois<br></div>