openalmanac 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth.js +1 -1
- package/package.json +1 -1
package/dist/auth.js
CHANGED
|
@@ -2,7 +2,7 @@ import { readFileSync, writeFileSync, mkdirSync, unlinkSync, existsSync } from "
|
|
|
2
2
|
import { homedir } from "node:os";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
import { chmodSync } from "node:fs";
|
|
5
|
-
const API_BASE = process.env.OPENALMANAC_API_BASE || "https://openalmanac.org/api/proxy";
|
|
5
|
+
const API_BASE = process.env.OPENALMANAC_API_BASE || "https://www.openalmanac.org/api/proxy";
|
|
6
6
|
const API_KEY_DIR = join(homedir(), ".openalmanac");
|
|
7
7
|
const API_KEY_PATH = join(API_KEY_DIR, "api_key");
|
|
8
8
|
const ARTICLES_DIR = join(homedir(), ".openalmanac", "articles");
|