mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
load android ui in dev when browsing to /android (#919)
This commit is contained in:
committed by
Donovan Preston
parent
041c8ffdd2
commit
17ee4e0058
@@ -1,11 +1,6 @@
|
||||
const html = require('choo/html');
|
||||
|
||||
export default function mainPage(state, emit) {
|
||||
if (window.location.pathname === '/android/app/src/main/assets/') {
|
||||
// Hack: For debugging the android app in a web browser from
|
||||
// http://0.0.0.0:8080/android/app/src/main/assets/ after running webpack
|
||||
state.prefix = '/android/app/src/main/assets';
|
||||
}
|
||||
function clickPreferences(event) {
|
||||
event.preventDefault();
|
||||
emit('pushState', '/preferences');
|
||||
|
||||
Reference in New Issue
Block a user