zydx-plus 1.33.432 → 1.33.433
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -365,10 +365,10 @@ export default {
|
|
|
365
365
|
const xhr = new XMLHttpRequest()
|
|
366
366
|
let formData = new FormData();
|
|
367
367
|
formData.append('file', file);
|
|
368
|
-
xhr.open('POST', 'https://192.168.8.81:8081/zydx/latex/get')
|
|
369
|
-
xhr.setRequestHeader('Authorization', '276b6213-5937-49bd-9019-498ddb4dfd4f')
|
|
370
|
-
|
|
371
|
-
|
|
368
|
+
// xhr.open('POST', 'https://192.168.8.81:8081/zydx/latex/get')
|
|
369
|
+
// xhr.setRequestHeader('Authorization', '276b6213-5937-49bd-9019-498ddb4dfd4f')
|
|
370
|
+
xhr.open('GET', '/zydx/latex/get')
|
|
371
|
+
xhr.setRequestHeader('Authorization', token)
|
|
372
372
|
this.error = true
|
|
373
373
|
xhr.onreadystatechange = () => {
|
|
374
374
|
if (xhr.readyState === 4) {
|