mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 05:52:57 +00:00
Disable link rewriting.
This commit is contained in:
parent
a772b268aa
commit
faf740d224
1 changed files with 15 additions and 1 deletions
|
@ -33,4 +33,18 @@ define [
|
|||
"filters/formatDate"
|
||||
"__MAIN_CLIENTSIDE_INCLUDES__"
|
||||
], () ->
|
||||
angular.bootstrap(document.body, ["SharelatexApp"])
|
||||
angular.module('SharelatexApp').config(
|
||||
($locationProvider) ->
|
||||
try
|
||||
$locationProvider.html5Mode({
|
||||
enabled: true,
|
||||
requireBase: false,
|
||||
rewriteLinks: false
|
||||
})
|
||||
catch e
|
||||
console.error "Error while trying to fix '#' links: ", e
|
||||
)
|
||||
angular.bootstrap(
|
||||
document.body,
|
||||
["SharelatexApp"]
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue