Config set from server
Summary: Instead of having duplicate configs defined on our HTML. Move the config definition to the server. Reviewed By: aigoncharov Differential Revision: D51307092 fbshipit-source-id: 68f4afc918cf191b3a15b3981429c5a05d5df8df
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9166939214
commit
7de92cb34a
@@ -14,16 +14,7 @@
|
||||
|
||||
<title>Flipper</title>
|
||||
<script>
|
||||
window.flipperConfig = {
|
||||
theme: 'light',
|
||||
entryPoint: 'bundle.js',
|
||||
debug: false,
|
||||
graphSecret: 'GRAPH_SECRET_REPLACE_ME',
|
||||
appVersion: 'FLIPPER_APP_VERSION_REPLACE_ME',
|
||||
sessionId: 'FLIPPER_SESSION_ID_REPLACE_ME',
|
||||
unixname: 'FLIPPER_UNIXNAME_REPLACE_ME',
|
||||
authToken: 'FLIPPER_AUTH_TOKEN_REPLACE_ME',
|
||||
}
|
||||
window.flipperConfig = FLIPPER_CONFIG_PLACEHOLDER;
|
||||
</script>
|
||||
<style>
|
||||
.message {
|
||||
|
||||
Reference in New Issue
Block a user