From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,URIBL_BLOCKED, URIBL_DBL_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1696656980; bh=NfbvMb4gEgXVir/KmNAkDoarPIEXDj5dYGXbBw5silo=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=cGMeVrGD7Z3mLVbjrmcXsv/VOkm/P+ve/QRdDmGgdtnnja0CgChqJ82Zx+NsQEJW0 5FgUoOR4TSFhC24xJ7A1+dqeHBaoBhvvBzJlRC4xTfERvgoxHy+3YkrAfmIVaU5lIC ab1v/q6tMyLGPJZnnKIQicUJWtiiWG2sV4bA28FUP6L/3GqSOezNhNAQlmjEpdYcxB k5XuLwCIBAWrGnIrnKwI0LtZw1hTY42vnsOI2ayCQn+Z/BOF3v9M288lVv/dqJYPmO bvD+GEt2SesCF1S/MpyRu3IudGAdAwl8vgMSIRjWwudpEHPoIeybr2gcOif31YiTsu zFv7mPic/xpRA== Received: from [192.168.1.5] (unknown [175.158.50.50]) by gnuweeb.org (Postfix) with ESMTPSA id 749A524B964; Sat, 7 Oct 2023 12:36:18 +0700 (WIB) Message-ID: <7a3ee1a9-76c7-07bb-cddd-96834100f8ec@gnuweeb.org> Date: Sat, 7 Oct 2023 12:36:12 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v1 12/13] chore(README): update README.md To: Ammar Faizi Cc: Alviro Iskandar Setiawan , Irvan Malik Azantha , Memet Zx , GNU/Weeb Mailing List References: <20231003025146.1557-1-kiizuha@gnuweeb.org> <20231003025146.1557-13-kiizuha@gnuweeb.org> Content-Language: en-US From: Muhammad Rizki In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 06/10/2023 02.29, Ammar Faizi wrote: > On 10/3/23 9:51 AM, Muhammad Rizki wrote: >> +## Production Build Server >> + >> +To run the production build node server, issue this command: >> + >> +```bash >> +node dist >> +# Listening on 0.0.0.0:3000 >> +``` > > Why is this needed? I don't see the need to run an additional web > server to serve a static website. I expect to have only nginx to run > https://www.gnuweeb.org . OK > > You may argue you need extra backend code to fetch the API in patch > #10, but why should you do that in the backend? Can't you move that > functionality to the client side JavaScript? > Sure, just change the +page.server.ts to +page.ts in order to become client-side, I will make v2 for it.