Marco
08/15/2023, 4:19 PMPatrick
08/15/2023, 4:28 PMjclausen
08/15/2023, 8:34 PMRoutes.cfm is compatible with Coldbox 6, but is no longer supported in Coldbox 7.jclausen
08/15/2023, 8:34 PMRouter.cfc, and Coldbox 7, if you are doing the upgrade anywayMarco
08/15/2023, 8:36 PMPatrick
08/15/2023, 8:37 PMMarco
08/15/2023, 8:38 PMPatrick
08/15/2023, 8:39 PMjclausen
08/15/2023, 8:39 PMaddRoute is still a method when using Router.cfc so, if you are using that, you can just drop it in.jclausen
08/15/2023, 8:39 PMjclausen
08/15/2023, 8:39 PMroute function:
route( "/healthcheck", function( event, rc, prc ){
return { "status" : "OK" };
} ).end();jclausen
08/15/2023, 8:40 PMend() the route never gets added.Marco
08/15/2023, 8:47 PM