We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c3a27e commit 7f75780Copy full SHA for 7f75780
1 file changed
src/Config.php
@@ -297,7 +297,7 @@ public function routes() : array
297
if ($this->inBuild()) {
298
throw new BuildTimeVariableAccessException('Routes are not available during the build phase.');
299
}
300
- if (empty($this->variablesDef)) {
+ if (empty($this->routesDef)) {
301
throw new NotValidPlatformException('No routes are defined. Are you sure you are running on Platform.sh?');
302
303
0 commit comments