♻️ 'cdn.jsdelivr.net/npm/axios' -> 'npm:axios'

This commit is contained in:
KaKi87 2023-03-02 14:52:12 +01:00
parent 4a8c7dce29
commit c000ca1223
1 changed files with 1 additions and 4 deletions

5
mod.js
View File

@ -3,8 +3,7 @@ import pogo from 'https://deno.land/x/pogo@v0.5.2/main.ts';
import { stringSpliceMulti } from 'https://git.kaki87.net/KaKi87/strsplice/raw/commit/5e45f90aab225f2d0023716afd1f91ae133594f9/mod.js';
import { hashSync as hash, compareSync as verify } from 'https://deno.land/x/bcrypt@v0.3.0/mod.ts';
import { Cryptr } from 'https://raw.githubusercontent.com/DjDeveloperr/deno_cryptr/9a3a2403ad906a8e19fff5a34ad95f815b67f6dc/mod.ts';
import axios from 'https://cdn.jsdelivr.net/npm/axios@1.1.3/dist/esm/axios.min.js';
import axiosFetchAdapter from 'https://jspm.dev/@vespaiach/axios-fetch-adapter@0.3.1';
import axios from 'npm:axios';
import Joi from 'npm:joi@17.6.0';
import getSchemas from 'npm:@cv.vg/schemas@0.1.0-dev.8';
import { createServerHelper } from 'https://git.kaki87.net/KaKi87/pogo-helpers/raw/commit/c09bb256d310dad935c9406c322a896b7898fa66/mod.js';
@ -26,8 +25,6 @@ Sentry.init({
dsn: sentryDsn
});
axios.defaults.adapter = axiosFetchAdapter;
const
server = pogo.server({ port }),
{