forked from projects/file-explorer
Compare commits
3 Commits
main
...
987e49cdec
Author | SHA1 | Date | |
---|---|---|---|
987e49cdec | |||
54bcfd3775 | |||
b189753c1e |
@ -9,12 +9,15 @@ jobs:
|
||||
build:
|
||||
runs-on: remote
|
||||
steps:
|
||||
- uses: https://git.simonis.lol/actions/checkout@v4
|
||||
- uses: https://git.simonis.lol/actions/login@v1
|
||||
with:
|
||||
registry: git.simonis.lol
|
||||
username: ${{ vars.DOCKER_USER }}
|
||||
password: ${{ vars.DOCKER_PW }}
|
||||
|
||||
- name: Checkout
|
||||
uses: https://git.simonis.lol/actions/checkout@v2
|
||||
- name: build
|
||||
run: docker build -t git.simonis.lol/sites/file-explorer:latest .
|
||||
|
||||
- name: Build
|
||||
run: docker buildx build -t git.simonis.lol/projects/file-explorer:latest .
|
||||
|
||||
- name: Push
|
||||
run: docker push git.simonis.lol/projects/file-explorer:latest
|
||||
- name: push
|
||||
run: docker push git.simonis.lol/sites/file-explorer:latest
|
||||
|
@ -14,7 +14,7 @@ class ServeFileController extends AbstractController
|
||||
{
|
||||
}
|
||||
|
||||
#[Route("/serve/{filePath}", name: "serve_file")]
|
||||
#[Route("/serve-file/{filePath}", name: "serve_file")]
|
||||
public function __invoke(string $filePath): BinaryFileResponse
|
||||
{
|
||||
$file = $this->fileSystemService->getFile($filePath);
|
||||
|
Reference in New Issue
Block a user