Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [Unreleased]

### Changed

- Rewire the setsites ajax route to an extension-free url so it is reachable at its own declared url - [#32](https://github.com/owncloud/external/pull/32)

## [1.5.1] - 2026-07-22

Expand Down
2 changes: 1 addition & 1 deletion appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
/** @var $this \OCP\Route\IRouter */
$this->create('external_index', '/{id}')
->actionInclude('external/index.php');
$this->create('external_ajax_setsites', 'ajax/setsites.php')
$this->create('external_ajax_setsites', 'ajax/setsites')
->actionInclude('external/ajax/setsites.php');
2 changes: 1 addition & 1 deletion js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $(document).ready(function(){
function saveSites() {
var post = $('#external').serialize();
OC.msg.startSaving('#external .msg');
$.post( OC.filePath('external','ajax','setsites.php') , post, function(data) {
$.post( OC.generateUrl('/apps/external/ajax/setsites') , post, function(data) {
OC.msg.finishedSaving('#external .msg', data);
});
}
Expand Down