nextcloud/apps/files_sharing/appinfo/routes.php

5 lines
149 B
PHP

<?php
$this->create('core_ajax_public_preview', '/publicpreview.png')->action(
function() {
require_once __DIR__ . '/../ajax/publicpreview.php';
});