diff --git a/.env b/.env new file mode 100644 index 0000000..8b8243b --- /dev/null +++ b/.env @@ -0,0 +1,3 @@ +LEMMY_TOKEN= +LEMMY_INSTANCE= +TARGET_COMMUNITY= \ No newline at end of file diff --git a/bootstrap/config.php b/bootstrap/config.php new file mode 100644 index 0000000..408f1dd --- /dev/null +++ b/bootstrap/config.php @@ -0,0 +1,12 @@ +safeLoad(); + +return [ + 'lemmy' => [ + 'community' => $_ENV['LEMMY_COMMUNITY'] ?? 'default', + ], +]; \ No newline at end of file diff --git a/src/Domain/Articles/ArticlePosted.php b/src/Domain/Articles/ArticlePosted.php index 05adbcd..4420833 100644 --- a/src/Domain/Articles/ArticlePosted.php +++ b/src/Domain/Articles/ArticlePosted.php @@ -1,6 +1,6 @@