dadi / publish

Publish provides beautiful editorial interfaces for the management of content within API
https://dadi.cloud/en/publish
64 stars 13 forks source link

Allow localhost api address for backend #730

Closed ohmoses closed 5 years ago

ohmoses commented 5 years ago

Closes #726

Allows to specify localHost and localPort in the Publish config—if present, the Publish backend will use this as the API address, while the frontend still uses host and port. E.g.:


"api": {
    "host": "https://api.example.com",
    "port": 443,
    "localHost": "http://localhost",
    "localPort": 8081
}