koishi-plugin-xlon 2.0.0 → 2.0.1
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/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1513,7 +1513,7 @@ var SyndicationTimelineProvider = class {
|
|
|
1513
1513
|
cache = /* @__PURE__ */ new Map();
|
|
1514
1514
|
async fetchLatest(username) {
|
|
1515
1515
|
const normalized = normalizeUsername2(username);
|
|
1516
|
-
const url = `https://syndication.
|
|
1516
|
+
const url = `https://syndication.x.com/srv/timeline-profile/screen-name/${encodeURIComponent(normalized)}`;
|
|
1517
1517
|
const cached = this.cache.get(normalized.toLowerCase());
|
|
1518
1518
|
let response;
|
|
1519
1519
|
try {
|