Fmstrat / shorten

A URL Shortening and Privacy Tool for ownCloud
31 stars 14 forks source link

Change needed #8

Closed drsbaitso closed 9 years ago

drsbaitso commented 9 years ago

Line 47 in script.js has to be changed... the /owncloud borks it when your cloud isn't at that url obvs.

$.post("/owncloud/index.php/apps/shorten/makeurl", { curUrl: curUrl }, function (data) {

should be

$.post("/index.php/apps/shorten/makeurl", { curUrl: curUrl }, function (data) {
Fmstrat commented 9 years ago

Doh, meant to change that to grab the URL from the owncloud API. I will update shortly.

Fmstrat commented 9 years ago

Updated in master to support any folder structure, will be released in a few moments.