Browse Source

attempt to fix weird appcache bug

pull/10/head
Aaron Parecki 5 years ago
parent
commit
fb8eb7bfbc
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      controllers/controllers.php
  2. +1
    -1
      views/new-post.php

+ 1
- 1
controllers/controllers.php View File

@ -225,7 +225,7 @@ $app->post('/post', function() use($app) {
}
});
$app->get('/new/options', function() use($app) {
$app->get('/options', function() use($app) {
if($user=require_login($app)) {
$params = $app->request()->params();

+ 1
- 1
views/new-post.php View File

@ -94,7 +94,7 @@ $(function(){
navigator.geolocation.getCurrentPosition(function(position){
$.get('/new/options', {
$.get('/options', {
latitude: position.coords.latitude,
longitude: position.coords.longitude
}, function(response) {

Loading…
Cancel
Save