Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug:文档的搜索功能不可用 #201

Open

Description

问题:按下 Ctrl+K 或直接点击搜索框时,页面变灰而搜索框并未出现。

系统版本:Windows 11 24H2(26100.4351)

尝试过的浏览器版本:

Microsoft Edge:137.0.3296.93(x64)

Google Chrome:137.0.7151.120 (x64)

复现(Microsoft Edge):

Image

Edge 浏览器控制台报错:

zh-CN/:1 Access to fetch at 'https://search.koishi.chat/indexes/koishi-docs/search' from origin 'https://koishi.chat' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
search.koishi.chat/indexes/koishi-docs/search:1 
 
 
 Failed to load resource: net::ERR_FAILED
theme.cqhn05DL.js:98 MeiliSearchCommunicationError: Failed to fetch
 at y.<anonymous> (theme.cqhn05DL.js:97:650)
 at A (theme.cqhn05DL.js:96:30371)
 at Object.next (theme.cqhn05DL.js:96:29675)
 at theme.cqhn05DL.js:96:29390
 at new Promise (<anonymous>)
 at __awaiter1ドル (theme.cqhn05DL.js:96:29190)
 at y.request (theme.cqhn05DL.js:97:317)
 at y.<anonymous> (theme.cqhn05DL.js:97:1393)
 at A (theme.cqhn05DL.js:96:30371)
 at Object.next (theme.cqhn05DL.js:96:29675)
(匿名) @ theme.cqhn05DL.js:98
theme.cqhn05DL.js:98 Uncaught (in promise) Error: MeiliSearchCommunicationError: Failed to fetch
 at Proxy.<anonymous> (theme.cqhn05DL.js:98:15336)
 at A (theme.cqhn05DL.js:98:4071)
 at Object.throw (theme.cqhn05DL.js:98:3354)
 at A (theme.cqhn05DL.js:98:2978)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /