QuickSight Embed add Domain with https://localhost

I have localhost with https and now I want to add this domain into QuickSight Dashboard to use Embed feature, but I have this error: This Domain is not supported. QuickSight dashboards can only be embedded in valid https domains. What is the best practice for us to testing QuickSight Embed in development environment ? Thanks.