Skip to content

Commit

Permalink
chore: update linker command
Browse files Browse the repository at this point in the history
  • Loading branch information
muath-ye committed Dec 14, 2023
1 parent 996f534 commit 330d328
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/linker
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class SymlinkMaker
if (symlink($targetFile, $symlinkFile)) {
echo Colors::GREEN . "INFO" . Colors::CYAN . " The [" . Colors::RESET . $symlinkFile . Colors::CYAN . "] link has been connected to [" . Colors::RESET . $targetFile . Colors::CYAN . "].\n" . Colors::RESET;
// TODO: check laragon config to determine http or https schema and domain tld
echo Colors::GREEN . "Visit your website at: http://" . $symlinkFile . '.test' . Colors::RESET;
echo Colors::YELLOW . "Restart Laragon to see effect." . Colors::RESET;
echo Colors::CYAN . "Visit your website at: " . Colors::CYAN . "http://" . $dirName . ".test\n" . Colors::RESET;
echo Colors::YELLOW . "Restart Laragon to see effect.\n" . Colors::RESET;
Config::reloadLaragon();
} else {
echo Colors::RED . "ERROR" . Colors::RESET . " Failed to create symlink." . Colors::RESET;
Expand Down

0 comments on commit 330d328

Please sign in to comment.