Skip to content
Snippets Groups Projects
Commit 576c0a47 authored by Gospodin Bodurov's avatar Gospodin Bodurov
Browse files

Add new protocol

parent a0d89ad7
No related branches found
No related tags found
1 merge request!52Collabora fix
......@@ -2,10 +2,10 @@ const axios = require('axios');
function WopiAPI() {}
WopiAPI.prototype.getPassports = function (resourceID, contentType) {
WopiAPI.prototype.getPassportsNewProtocol = function (resourceID, contentType) {
const { publicKey, uuid, token, deviceHash } = window.viamApi.getConfig().headers;
const requestConfig = {
url: `${window.WOPI_URL}getPassports`,
url: `${window.WOPI_URL}getPassportsNewProtocol`,
method: 'POST',
headers: {
publicKey,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment