Skip to content

Commit

Permalink
changed: api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Rstacx committed Jun 2, 2024
1 parent 3897a1d commit 287818d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/cjs/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
Object.defineProperty(exports, "__esModule", { value: true });
exports.RsnFilter = void 0;
const axios_1 = __importDefault(require("axios"));
const apiUrl = "https://api.rsnai.org/api/v1/user";
const apiUrl = "https://api.rnilaweera.lk/api/v1/user";
class RsnFilter {
constructor(apikey) {
this.headers = {
Expand Down
2 changes: 1 addition & 1 deletion build/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
import axios from "axios";
const apiUrl = "https://api.rsnai.org/api/v1/user";
const apiUrl = "https://api.rnilaweera.lk/api/v1/user";
class RsnFilter {
constructor(apikey) {
this.headers = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rsn-filter",
"version": "1.0.0",
"version": "1.0.1",
"description": "A comprehensive NSFW image detection npm package, equipped with advanced algorithms to ensure the safety and integrity of online platforms by swiftly identifying and filtering explicit content",
"type": "module",
"types": "./types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interface Result {
message: string;
}

const apiUrl = "https://api.rsnai.org/api/v1/user";
const apiUrl = "https://api.rnilaweera.lk/api/v1/user";

class RsnFilter {
headers = {
Expand Down

0 comments on commit 287818d

Please sign in to comment.