Skip to content

Commit

Permalink
whoops xd
Browse files Browse the repository at this point in the history
  • Loading branch information
sefinek committed Mar 11, 2023
1 parent effe38d commit f8081fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { get } = require('axios');
const { name, version } = require('./package.json');

const url = 'https://api.sefinek.1net/api/v2/random/animal/fox';
const url = 'https://api.sefinek.net/api/v2/random/animal/fox';
const headers = { 'User-Agent': `${name}/${version} (https://github.com/sefinek24/random-fox-img)` };

async function getRandomFox() {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "random-fox-img",
"version": "1.0.9",
"version": "1.0.10",
"description": "This package returns a random fox image from API.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit f8081fb

Please sign in to comment.