Fix read only links

This commit is contained in:
James Allen 2018-02-12 10:42:57 +00:00
parent 5fef846a6c
commit 5d6925921c

View file

@ -199,7 +199,7 @@ define [
$scope.$watch "project.tokens.readOnly", (token) ->
if token?
$scope.readOnlyTokenLink = "#{location.origin}/#{token}"
$scope.readOnlyTokenLink = "#{location.origin}/read/#{token}"
else
$scope.readOnlyTokenLink = null