-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update config.ts * Update about.vue * Update Footer.vue
- Loading branch information
1 parent
34f2b6f
commit bf60468
Showing
3 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
// Default front-end AJAX timeout | ||
import axios from 'axios' | ||
axios.defaults.timeout = 45 * 1000 | ||
|
||
// API endpoint | ||
export const API_BASE = | ||
process.env.NODE_ENV === 'development' ? 'https://pixiv.js.org' : '' | ||
export const GITHUB_REPO = 'https://github.com/PixivNow/PixivNow' | ||
|
||
// Copyright links | ||
// Do not modify please | ||
export const GITHUB_OWNER = 'GratisNow' | ||
export const GITHUB_REPO = 'PixivNow' | ||
export const GITHUB_URL = `https://github.com/${GITHUB_OWNER}/${GITHUB_REPO}` | ||
|
||
// Site name | ||
export const PROJECT_NAME = 'PixivNow' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters