diff options
author | Hygna <hygna@proton.me> | 2022-09-26 18:32:32 +0100 |
---|---|---|
committer | Hygna <hygna@proton.me> | 2022-09-26 18:32:32 +0100 |
commit | 378fab21c081735311f4b3dab9d3423d955b400b (patch) | |
tree | 4d08f4cc4f366564f17c2c80aba5c09455d44b69 /src/pages/popup/popup.ejs | |
parent | Finished instance fetching (diff) | |
download | libredirect-378fab21c081735311f4b3dab9d3423d955b400b.zip |
Changes
Changed some regex Made ejs no longer need extra config member variable Added url reversal
Diffstat (limited to 'src/pages/popup/popup.ejs')
-rw-r--r-- | src/pages/popup/popup.ejs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/popup/popup.ejs b/src/pages/popup/popup.ejs index efb73e5c..5b3bb026 100644 --- a/src/pages/popup/popup.ejs +++ b/src/pages/popup/popup.ejs @@ -8,13 +8,13 @@ </head> <body dir="auto"> <div class="current_site"> - <%- include('src/pages/widgets/switches', {config: config}) -%> + <%- include('src/pages/widgets/switches', {config: {networks, services}}) -%> <div id="current_site_divider"> <hr> </div> </div> <div class="all_sites"> - <%- include('src/pages/widgets/switches', {config: config}) -%> + <%- include('src/pages/widgets/switches', {config: {networks, services}}) -%> </div> <hr> <div class="some-block" id="change_instance_div"><a class="title button prevent" id="change_instance"> |