#1 2016-05-06 10:26:53

StxLog
Member
From: France
Registered: 2015-09-14
Posts: 58

MVC /json /mvc-info

Hello ab,

I couldn't find if there is a way to disable the /json and /mvc-info commands? I'd like to not have those available in production.

Thanks for your help.

Offline

#2 2016-05-06 10:48:25

Chaa
Member
Registered: 2011-03-26
Posts: 249

Re: MVC /json /mvc-info

See aPublishOptions: TMVCPublishOption parameter in TMVCRunOnRestServer.Create.

Offline

#3 2016-05-09 07:48:40

StxLog
Member
From: France
Registered: 2015-09-14
Posts: 58

Re: MVC /json /mvc-info

Thanks for your fast reply, I was able to deactivate /mvc-info with TMVCPublishOption  but couldn't find for /json?

Offline

Board footer

Powered by FluxBB