mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 09:29:02 +02:00
Export to JSON, JSON formatting.
This commit is contained in:
parent
0c53701bbc
commit
f712fc7735
2 changed files with 9 additions and 9 deletions
|
@ -70,7 +70,7 @@
|
|||
"default": "9704",
|
||||
"type": "int",
|
||||
"advanced": true
|
||||
},
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -213,7 +213,7 @@ void DomainMetadata::sendDescriptors() {
|
|||
bool DomainMetadata::handleHTTPRequest(HTTPConnection* connection, const QUrl& url, bool skipSubHandler) {
|
||||
QString domainMetadataJSON = QString("{\"domain\":%1}").arg(QString(QJsonDocument(get(DESCRIPTORS)).toJson(QJsonDocument::Compact)));
|
||||
const QString URI_METADATA = "/metadata";
|
||||
const QString EXPORTER_MIME_TYPE = "text/plain";
|
||||
const QString EXPORTER_MIME_TYPE = "application/json";
|
||||
|
||||
qCDebug(domain_metadata_exporter) << "Request on URL " << url;
|
||||
|
||||
|
|
Loading…
Reference in a new issue