mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #325 from sharelatex/ja-fix-read-only-links
Fix read only links
This commit is contained in:
commit
8094c5fb72
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ define [
|
||||||
|
|
||||||
$scope.$watch "project.tokens.readOnly", (token) ->
|
$scope.$watch "project.tokens.readOnly", (token) ->
|
||||||
if token?
|
if token?
|
||||||
$scope.readOnlyTokenLink = "#{location.origin}/#{token}"
|
$scope.readOnlyTokenLink = "#{location.origin}/read/#{token}"
|
||||||
else
|
else
|
||||||
$scope.readOnlyTokenLink = null
|
$scope.readOnlyTokenLink = null
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue