Compare commits
2 commits
main
...
fix-url-fe
Author | SHA1 | Date | |
---|---|---|---|
1e3bb8e612 | |||
031403441c |
3 changed files with 5 additions and 8 deletions
4
docker/federation/docker-compose.yml
vendored
4
docker/federation/docker-compose.yml
vendored
|
@ -23,10 +23,10 @@ services:
|
||||||
|
|
||||||
pictrs:
|
pictrs:
|
||||||
restart: always
|
restart: always
|
||||||
image: asonix/pictrs:v0.1.13-r0
|
image: asonix/pictrs:amd64-v0.1.0-r9
|
||||||
user: 991:991
|
user: 991:991
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/pictrs_alpha:/mnt
|
- ./volumes/pictrs:/mnt
|
||||||
|
|
||||||
lemmy-alpha:
|
lemmy-alpha:
|
||||||
image: lemmy-federation:latest
|
image: lemmy-federation:latest
|
||||||
|
|
6
docker/federation/start-local-instances.bash
vendored
6
docker/federation/start-local-instances.bash
vendored
|
@ -3,9 +3,7 @@ set -e
|
||||||
|
|
||||||
sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-federation:latest
|
sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-federation:latest
|
||||||
|
|
||||||
for Item in alpha beta gamma delta epsilon ; do
|
sudo mkdir -p volumes/pictrs
|
||||||
sudo mkdir -p volumes/pictrs_$Item
|
sudo chown -R 991:991 volumes/pictrs
|
||||||
sudo chown -R 991:991 volumes/pictrs_$Item
|
|
||||||
done
|
|
||||||
|
|
||||||
sudo docker-compose up
|
sudo docker-compose up
|
||||||
|
|
|
@ -250,8 +250,7 @@ impl FromApub for PostForm {
|
||||||
let url = page
|
let url = page
|
||||||
.inner
|
.inner
|
||||||
.url()
|
.url()
|
||||||
.as_ref()
|
.map(|u| u.as_single_xsd_any_uri())
|
||||||
.map(|u| u.as_single_xsd_string())
|
|
||||||
.flatten()
|
.flatten()
|
||||||
.map(|s| s.to_string());
|
.map(|s| s.to_string());
|
||||||
let body = page
|
let body = page
|
||||||
|
|
Loading…
Reference in a new issue