Skip to content

Commit

Permalink
Set qgis_server_version to 3 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Oct 10, 2024
1 parent 6cafea3 commit cc99542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schemas/qwc-print-service.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"type": "string"
},
"qgis_server_version": {
"description": "QGIS Server version (e.g. 2.18.19, 3.4.1)",
"description": "QGIS Server version (e.g. 3). Default: 3",
"type": "string"
},
"qgs_postfix": {
Expand Down
2 changes: 1 addition & 1 deletion src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def post(self, mapid):
'ogc_service_url', 'http://localhost:5013/')
print_pdf_filename = config.get('print_pdf_filename')
qgs_postfix = config.get('qgs_postfix', '')
qgis_server_version = config.get('qgis_server_version', '2.18.19')
qgis_server_version = config.get('qgis_server_version', '3')
label_queries_config = config.get('label_queries', [])
label_values_config = config.get('label_values', [])
# TODO: read resources
Expand Down

0 comments on commit cc99542

Please sign in to comment.