CORS Allow some origin

  • I am stuck by the cors error for some time. Is is possible some way to disable cors for some origins? The goal is to access the api from a pwa hosted on the same network.

    Thank you by advance,

    Anatole

  • Unfortunately I don't understand what you mean, since nobody else answers either, it's probably not just me.


    regards pclin

    Dreambox ONE / TWO

    dreamOS OE2.6

    Amlogic S922X - 53.000 DMIPS - 2 GB RAM - 16 GB Flash - Twin-DVB-S2X Tuner - HDR10 - HLG
    -
    AudioDSP: miniDSP 2x4HD - Amp: Pentagon - Lautsprecher ELAC / ARENDAL
    LG OLED65BX9LB (PicCap, hyperion.NG webOS)

    FireTV 4K max

    -
    hyperion (classic) & Plugin HyperionControl | hyperion-ng 2.0.16-beta.1 (dreamOS)
    Hyperion-ng (Debian bullseye)
    -
    6 x ESP32/Wemos D1 mini - WLED - SK6812 RGBW-NW 60 LEDs/m
    FeinTech VSP01201 - Grabber Macrosilicon

    LG TV Hyperion webOS & PicCap


    snoozer_likelinux_manvtkns.gif


    Ambilight for ever

    • Offizieller Beitrag

    totol123 Have you had a look at the Network configuration?

    Maybe you share what is configured now?


    And it of course depend how you trigger your API calls.

    In Case you use a WebSocket, you would not have a CORS issue.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!