superset
superset copied to clipboard
the schema of short url is hard code to http
https://github.com/apache/incubator-superset/blob/93ec76f7570dcd53d110498cc18ec0f15dd9854b/superset/views/core.py#L750
this code should do the work :
scheme = request.scheme
return Response(
'{scheme}://{request.headers[Host]}/{directory}?r={obj.id}'.format(
scheme = scheme, request=request, directory=directory, obj=obj),
mimetype='text/plain')
@ripoul mind submitting a PR ?
@mistercrunch done and merge! Close?