ripoul commented on issue #4656: the schema of short url is hard code to http
URL: 
https://github.com/apache/incubator-superset/issues/4656#issuecomment-384285151
 
 
   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')
   `

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to