mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-02 15:33:32 +00:00
Converted to Vite since create-react-app is no longer being developed
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { camelizeKeys, decamelizeKeys } from "humps";
|
||||
import AuthStore from "modules/AuthStore";
|
||||
import queryString from "query-string";
|
||||
|
||||
import AuthStore from "src/modules/AuthStore";
|
||||
|
||||
const contentTypeHeader = "Content-Type";
|
||||
|
||||
interface BuildUrlArgs {
|
||||
|
@@ -9,7 +9,7 @@ export async function createDNSProvider(
|
||||
): Promise<DNSProvider> {
|
||||
// Because the meta property of the data should not be decamelized,
|
||||
// we're going to decamelize the rest here instead of in base.ts
|
||||
let dcData: any = decamelizeKeys(data);
|
||||
const dcData: any = decamelizeKeys(data);
|
||||
if (typeof data.meta !== "undefined") {
|
||||
dcData.meta = data.meta;
|
||||
}
|
||||
|
@@ -13,7 +13,7 @@ export async function setDNSProvider(
|
||||
|
||||
// Because the meta property of the data should not be decamelized,
|
||||
// we're going to decamelize the rest here instead of in base.ts
|
||||
let dcData: any = decamelizeKeys(data);
|
||||
const dcData: any = decamelizeKeys(data);
|
||||
if (typeof data.meta !== "undefined") {
|
||||
dcData.meta = data.meta;
|
||||
}
|
||||
|
Reference in New Issue
Block a user