We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f6f76 commit be9769bCopy full SHA for be9769b
box.json
@@ -25,7 +25,7 @@
25
},
26
"devDependencies":{
27
"testbox":"^6.0.0",
28
- "coldbox":"^8"
+ "coldbox":"^8.0.0"
29
30
"installPaths":{
31
"testbox":"testbox/",
tests/resources/app/config/Router.cfc
@@ -1,8 +1,13 @@
1
component {
2
3
function configure() {
4
- setMultiDomainDiscovery( false );
5
- setBaseUrl( composeRoutingUrl() & "index.cfm/" );
+ if ( listFirst( getController().getColdBoxSetting( "version" ), "." ) >= 8 ) {
+ setMultiDomainDiscovery( false );
6
+ setBaseUrl( composeRoutingUrl() & "index.cfm/" );
7
+ } else {
8
+ setFullRewrites( false );
9
+ }
10
+
11
// Conventions based routing
12
route( ":handler/:action?" ).end();
13
}
0 commit comments