vscodethemes / web

Search and preview themes from the VS Code Marketplace.
https://vscodethemes.com
796 stars 36 forks source link

Error when searching themes #282

Closed murilonicemento closed 2 months ago

murilonicemento commented 2 months ago

The theme search feature appears to be broken. When I perform a theme search, I receive an application error instead of the expected results.

SyntaxError: Unexpected token '<', "<html>"... is not valid JSON

Steps to reproduce:

  1. Go to the vscodethemes.com website.
  2. Search for a theme (e.g., northeirn).

Error displayed in the console:

SyntaxError: Unexpected token '<', "<html>"... is not valid JSON
    at async Fs.searchExtensions (worker.js:7706:728)
    at async Ay (worker.js:7757:13)
    at async Vn (worker.js:749:11)
    at async Promise.allSettled (index 1)
    at async Zh (worker.js:1560:131)
    at async worker.js:1677:141)
    at async a (worker.js:6073:24)

image

jschr commented 2 months ago

Thanks for reporting, should be fixed now.