Added an example proxy route to webpack.config.js

This commit is contained in:
2021-12-20 07:33:01 +00:00
parent d37b93d5f7
commit c130b74e2d
2 changed files with 7 additions and 1 deletions
@@ -28,7 +28,7 @@ const NewsPublisher = props => {
<input type='text' name='title' placeholder='Title' ref={titleRef} />
<input type='text' name='author' placeholder='Author' ref={authorRef} />
<textarea name='body' rows='10' cols='150' placeholder='Body of the article goes here...' ref={bodyRef} />
<button type='submit'>Publish</button>
</form>
</div>