mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Remove unneeded/confusing assignment
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com> GitOrigin-RevId: 2aa48249cf216bc8cca7e95153695095923c0b86
This commit is contained in:
parent
15ea69995a
commit
0e89857a9f
1 changed files with 5 additions and 8 deletions
|
@ -51,14 +51,11 @@ switch (process.env.NODE_ENV) {
|
|||
webpackManifest = {}
|
||||
}
|
||||
function loadManifestFromWebpackDevServer(done = function () {}) {
|
||||
webpackManifest = fetchJson(
|
||||
new URL(`/manifest.json`, Settings.apis.webpack.url),
|
||||
{
|
||||
headers: {
|
||||
Host: 'localhost',
|
||||
},
|
||||
}
|
||||
)
|
||||
fetchJson(new URL(`/manifest.json`, Settings.apis.webpack.url), {
|
||||
headers: {
|
||||
Host: 'localhost',
|
||||
},
|
||||
})
|
||||
.then(json => {
|
||||
webpackManifest = json
|
||||
done()
|
||||
|
|
Loading…
Reference in a new issue