add application/msgpack

This commit is contained in:
proddy
2024-11-06 11:53:46 +01:00
parent 6a0a3ea440
commit 2cd60883d2

View File

@@ -22,10 +22,10 @@ const router = AutoRouter({
const REST_ENDPOINT_ROOT = '/rest/';
const API_ENDPOINT_ROOT = '/api/';
// HTTP HEADERS
// HTTP HEADERS for msgpack
const headers = {
'Access-Control-Allow-Origin': '*',
'Content-type': 'application/json'
'Content-type': 'application/msgpack'
};
// GLOBAL VARIABLES